Commit graph

74 commits

Author SHA1 Message Date
Juan Linietsky
5b3709d309 Removal of InputEvent as built-in Variant type..
this might cause bugs I haven't found yet..
2017-05-20 17:05:38 -03:00
Paulb23
84bca4e72f Added support for space indentation 2017-04-18 12:30:46 +01:00
Rémi Verschelde
df61dc4b2b Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
supaiku
d51fe99a8b Fix highlight typo 2017-04-06 17:35:08 +02:00
Rémi Verschelde
5dbf1809c6 A Whole New World (clang-format edition)
I can show you the code
Pretty, with proper whitespace
Tell me, coder, now when did
You last write readable code?

I can open your eyes
Make you see your bad indent
Force you to respect the style
The core devs agreed upon

A whole new world
A new fantastic code format
A de facto standard
With some sugar
Enforced with clang-format

A whole new world
A dazzling style we all dreamed of
And when we read it through
It's crystal clear
That now we're in a whole new world of code
2017-03-05 16:44:50 +01:00
Paulb23
6b42cd5fe6 Fixed line lenght guideline drawing with color option 2017-01-28 14:36:57 +00:00
Rémi Verschelde
93ab45b6b5 Style: Fix whole-line commented code
They do not play well with clang-format which aligns the `//` part
with the rest of the code block, thus producing badly indented commented code.
2017-01-14 14:52:23 +01:00
Juan Linietsky
920947f297 renamed _input_event for GUI events to _gui_input, so it's more differentiated than generalized _input 2017-01-08 16:28:12 -03:00
Juan Linietsky
2ab83e1abb Memory pool vectors (DVector) have been enormously simplified in code, and renamed to PoolVector 2017-01-07 18:26:38 -03:00
Juan Linietsky
118eed485e ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant.
All usages of "type" to refer to classes were renamed to "class"
ClassDB has been exposed to GDScript.
OBJ_TYPE() macro is now GDCLASS()
2017-01-02 23:03:46 -03:00
Rémi Verschelde
c7bc44d5ad Welcome in 2017, dear changelog reader!
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!
2017-01-01 22:03:33 +01:00
Paulb23
0e2c15e91a Made background and symbol color follow the color API 2016-11-06 13:50:23 +00:00
Pedro J. Estébanez
00b3af246b Allow turing off zero-padding for line numbers 2016-10-13 11:43:42 +02:00
Rémi Verschelde
0f587c460e Merge pull request #6778 from Hinsbart/completion_z
Fix Script Editor drawing over Dialogs.
2016-10-11 09:10:39 +02:00
Andreas Haas
f73b501d6f
Fix Script Editor drawing over Dialogs.
Resets the z-index when focus is lost and the completion is shown.

Fixes #6769
2016-10-10 13:24:46 +02:00
Pedro J. Estébanez
d9c1729a8f Add line length guideline to code editors 2016-10-10 10:39:58 +02:00
Andreas Haas
f81d009525
Add inline ColorPicker to Script text editor.
Adds an option to the script editor context menu that lets you open
a ColorPicker in order to easily edit `Color()` constructors.
To do this, right click on the word `Color` and select `Pick Color`.

A side effect of this change is that the script editor now has its own
context menu instead of re-using the one from TextEdit.
It's now possible to indent left/right and to toggle comments via this menu.
I also felt free to make it more context-sensitive than before:
Now "Cut" and "Copy" will only be shown if text has actually been selected.

I also added default shortcuts for indent left/right. (alt + left/right)

Closes #6232
2016-09-29 09:12:45 +02:00
Juan Linietsky
37f1e86108 Do ctrl-click on any code identifier to go to definiton or help page. 2016-09-12 10:53:31 -03:00
Juan Linietsky
9890c1d2ca Likely with bugs and with some features are missing, as well as profiler support, but VisualScript should be more or less done! 2016-08-06 19:00:54 -03:00
Rémi Verschelde
ebefdaa598 Merge pull request #5737 from neikeq/pr-issue-5269
TextEdit: Scroll search results to the center
2016-07-23 22:54:32 +02:00
Ignacio Etcheverry
fc16954fa2 TextEdit: Center search results 2016-07-21 03:40:08 +02:00
Paulb23
54f720ac06 Added block caret to TextEdit 2016-07-12 16:07:17 +01:00
Paulb23
28356a7d63 Expose highlight all occurrences 2016-07-11 15:20:01 +01:00
Paulb23
21385d9ecb Expose show line numbers 2016-07-11 15:11:35 +01:00
Paulb23
a9956be63d Added completion font colors 2016-07-11 14:25:56 +01:00
Paulb23
45f0dec55c Added code completion existing color setting 2016-06-21 17:34:38 +01:00
Paulb23
706895a922 Added code completion selected color setting 2016-06-21 17:21:55 +01:00
Paulb23
a40cb680ca Added code completion background color setting 2016-06-21 16:50:31 +01:00
Paulb23
8cbd0b9ae3 Text Edit no longer draws caret on focus loss 2016-06-19 16:11:16 +01:00
marcelofg55
3787856563 Fixed overloaded virtual functions with const vs none warning 2016-06-12 13:31:22 -03:00
Rémi Verschelde
d3b46b6bf2 Merge pull request #4822 from Paulb23/breakpoint_marker_issue_4750
Added breakpoint markers, issue 4750
2016-05-29 18:34:13 +02:00
Ignacio Etcheverry
51be9beec9 ScriptEditor/ShaderEditor: Replace find/replace dialog with a bar 2016-05-29 14:26:19 +02:00
Paulb23
72fda444d1 Added breakpoint markers, issue 4750 2016-05-26 14:17:14 +01:00
Juan Linietsky
f93aaa9b78 Default editing popup for LineEdit and TextEdit 2016-05-16 20:25:17 -03:00
Paulb23
e03e7deb1b Added caret blink in text editor 2016-05-09 19:22:11 +01:00
Paulb23
54244e0e1d Added scroll lines, issue 4243 2016-04-27 18:32:14 +01:00
Paulb23
8c328474f2 Setting to change line number color 2016-04-08 20:11:16 +01:00
Rémi Verschelde
3e3f16fefc Merge pull request #4251 from Paulb23/block_indent_issue_3803
Fixed block indent inconsistency, issue #3803
2016-04-06 19:39:07 +02:00
Paulb23
93700676b5 Fixed block indent inconsistency, fixes issue 3803 2016-04-06 17:46:10 +01:00
Rémi Verschelde
44446cf58b Merge pull request #4238 from Paulb23/caret_color
Ability to change the caret color
2016-04-06 18:42:32 +02:00
Rémi Verschelde
d6871ee847 Merge pull request #4234 from Paulb23/member_variable_syntax_highlighting
Member variable syntax highlighting
2016-04-06 18:42:13 +02:00
Paul Batty
646e089782 Fixed text edit undo and redo operation interaction 2016-04-06 08:36:29 +02:00
Paulb23
c7519f091d Ability to change the caret color 2016-04-05 17:06:56 +01:00
Paulb23
fc9f9adcb2 Member variable syntax highlighting 2016-04-05 15:50:54 +01:00
Paulb23
971c3be52d Fixed 'complex' typo in method name 2016-04-05 14:30:00 +01:00
Paul Batty
50aa78210c Function syntax highlighting 2016-04-02 21:46:42 +02:00
Paulb23
2b57cb94da Added insert mode to text editor 2016-04-01 13:48:38 +01:00
Paulb23
c844c2d604 Syntax highlighting for numbers 2016-03-21 15:45:38 +00:00
Paulb23
b0488cacf2 Highlight all occurrences of selected word 2016-03-16 21:20:42 +00:00
Rémi Verschelde
c30bebd1d3 Merge pull request #4017 from Paulb23/set_tab_size
Added configurable tab size in the text editor.
2016-03-14 17:12:15 +01:00