Commit Graph

87 Commits

Author SHA1 Message Date
Paulb23 6f6afde0c5 Changed line and word mouse selection 2017-11-05 15:54:00 +00:00
Paulb23 45670df354 Added setting to toggle current line highlighting 2017-10-22 13:42:08 +01:00
toger5 d58a159e38 keep font color on selection as default 2017-09-28 14:17:14 +02:00
Paulo Gomes 9b72f08042 second take at autocomplete logic, using a TextOperation check. 2017-09-06 19:23:09 +01:00
Rémi Verschelde bd282ff43f Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
Juan Linietsky 36e0a72c77 -Code completion for enumerations
-Disabled GDNative and GDNativeScript so build compiles again
2017-08-24 00:06:56 -03:00
Paulb23 24c6c097f3 Stops scrolling when the user issues another command 2017-08-22 20:04:19 +01:00
Juan Linietsky 2cc8309249 Merge pull request #10351 from neikeq/enums-are-for-the-weak
ClassDB: Provide the enum name of integer constants
2017-08-21 19:56:08 -03:00
Paulb23 d6599fde0a Increased smooth scroll speed and added user setting 2017-08-21 19:20:11 +01:00
Ignacio Etcheverry 32dd9a9f66 ClassDB: Provide the enum name of integer constants 2017-08-20 22:07:43 +02:00
Paulb23 a142c9a2f0 Added smooth scrolling to TextEdit 2017-08-19 15:23:45 +01:00
TwistedTwigleg 00f6c85928 Synchronize parameter names in definition and declaration
Fixes #10244.
2017-08-16 17:22:23 +02:00
bruvzg 8aa86cb9bc Implement NSTextInputClient protocol for IME 2017-08-09 19:09:33 +03:00
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