Commit graph

273 commits

Author SHA1 Message Date
Rémi Verschelde
414b388499 Fix TextEdit::cursor_set_line bindings
As spotted by @neikeq - fixes #13068.
2017-11-20 08:11:31 +01:00
Ian
1e59169d2d scrolling fixes 2017-11-18 20:07:53 -05:00
Ian
d350f506a0 TextEdit code folding 2017-11-17 21:49:43 -05:00
Rémi Verschelde
139a957802
Merge pull request #12763 from remorse107/Code-Complete
Modified code completion for better tabbing with immediate hints.
2017-11-17 00:33:27 +01:00
Bojidar Marinov
443ce6fef2
Allow underscores in GDScript numeric literals
Closes #12928
2017-11-15 22:53:08 +02:00
Rémi Verschelde
4685674389
Merge pull request #12842 from ianb96/shader_editor_fix
Shader Editor context menu and line operations and style fix
2017-11-14 07:33:04 +01:00
Robert Morse
3372413037 Modified code completion for better tabbing, and removal of need to backspace and re-enter '(' to get code completion hints. 2017-11-13 18:19:11 -06:00
Michael Alexsander Silva Dias
2a26931246 Made text in TextEdit a property. 2017-11-12 13:10:26 -02:00
Michael Alexsander Silva Dias
920f3f6546 Added "is_readonly()" to TextEdit and made it a property. 2017-11-11 22:14:14 -02:00
Ian
94b3e786cd shader editor context menu and line operations and style fix 2017-11-11 14:46:59 -05:00
Ian
fc299b4f37 add context menu enable getters, setters, and properties in LineEdit and TextEdit 2017-11-11 03:30:59 -05:00
Paulb23
6f6afde0c5 Changed line and word mouse selection 2017-11-05 15:54:00 +00:00
Paulb23
e03a054714 Remove text on enter, issue 12494 2017-10-31 20:42:53 +00:00
Unknown
7683ff3e42 Fix get_node() and $ autocompletion when using single quotes 2017-10-30 21:58:32 +01:00
Paulb23
45670df354 Added setting to toggle current line highlighting 2017-10-22 13:42:08 +01:00
Paulb23
c594c8001b Fixed current line highlighting and visual indication of empty selected lines 2017-10-21 21:35:50 +01:00
Rémi Verschelde
0c9d201044 Merge pull request #11407 from toger5/selection_override_color
added option to keep font color on selection + use consistent selection color in help (fixes: #11501)
2017-10-15 20:49:38 +02:00
Paulb23
b07dfd75ea Consistant scroll when using members overview, issue 11648 2017-10-08 14:29:27 +01:00
Andreas Haas
5303efb2fa Merge pull request #11659 from AndreaCatania/prephysics
Renamed fixed_process to physics_process
2017-10-02 23:10:36 +02:00
AndreaCatania
4537977d6d Renamed fixed_process to physics_process 2017-09-30 16:19:07 +02:00
toger5
8c087e046d fixed coustom bg weired offset for code editor 2017-09-29 17:00:17 +02:00
toger5
e49ac08c24 do not overlap current line with selection color 2017-09-28 16:12:12 +02:00
toger5
d58a159e38 keep font color on selection as default 2017-09-28 14:17:14 +02:00
letheed
5ad9be4c24 Rename pos to position in user facing methods and variables
Rename user facing methods and variables as well as the corresponding
C++ methods according to the folloming changes:

* pos -> position
* rot -> rotation
* loc -> location

C++ variables are left as is.
2017-09-20 13:11:10 +02:00
Rémi Verschelde
cc161dcd6f Merge pull request #11021 from tuga3d/autocomplete-logic-attempt2
autocomplete logic attempt 2, fixes #10695
2017-09-18 08:58:18 +02:00
Marcelo Fernandez
31ba932e3b Fix crash when using key+u on a line with only a # 2017-09-17 17:07:42 -03:00
Rémi Verschelde
0953c8fd55 Merge pull request #11314 from marcelofg55/master
Fix possible crash with ctrl-u on script editor
2017-09-17 12:56:13 +02:00
Daniel J. Ramirez
d84c79d349 Fixed compilation with tools=no 2017-09-16 23:33:44 -05:00
Marcelo Fernandez
a2837360d0 Fix possible crash with ctrl-u on script editor 2017-09-16 04:20:20 -03:00
Daniel J. Ramirez
ba11dc3f48 Added adaptive text editor theme, this includes the shader editor 2017-09-15 16:08:22 -05:00
Paulo Gomes
9b72f08042 second take at autocomplete logic, using a TextOperation check. 2017-09-06 19:23:09 +01:00
Paulb23
cfa5f37ee7 Added support for brace auto indent and fixed indent above 2017-09-02 15:59:30 +01:00
Paulb23
93f6fbd7b2 Fixed jitter when scrolling up 2017-09-02 13:45:21 +01:00
Hein-Pieter van Braam
9c63ab99f0 Fix use of unitialized variables
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-02 01:59:26 +02:00
Paulo Gomes
2eb46801cb second attempt on fixing the indent glitch.
I've reverted the first attempt (https://github.com/godotengine/godot/pull/10653).
I was very naive and didn't consider that the glitch happens also if you're not in the first column, ex. if you have 2 tabs and press return in between them.
Hope this will solve the problem without messing anything else.
2017-08-30 19:35:38 +01:00
Rémi Verschelde
213887f209 Merge pull request #10693 from Paulb23/offset_view_when_removing_issue_10529
Fixed offset view when removing text, issue 10529
2017-08-28 00:07:02 +02:00
Rémi Verschelde
7ad14e7a3e Dead code tells no tales 2017-08-27 22:13:45 +02:00
Paulb23
ae26f8e015 Fixed offset view when removing text, issue 10529 2017-08-27 18:29:15 +01:00
Rémi Verschelde
bd282ff43f Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
Rémi Verschelde
a6e37ae2bf Merge pull request #10600 from MasonAsh/fix-10596
Script editor: fixed no key repeat for CTRL+Y
2017-08-27 02:11:58 +02:00
Rémi Verschelde
612099e377 Merge pull request #10591 from Rubonnek/possible-null-ptr-dereference
Added/Fixed null pointer checks
2017-08-27 02:10:56 +02:00
Wilson E. Alvarez
7a07895920 Added/Fixed null pointer checks 2017-08-26 16:58:47 -04:00
Paulo Gomes
056b0976bc Added a cursor column check.
Fixes glich, when cursor is on column 0 of and indented line and you
press return an extra indent is added.
2017-08-26 19:22:05 +01:00
Mason Ashbridge
9def31120c Script editor: fixed no key repeat for CTRL+Y 2017-08-24 01:28:08 -04:00
Juan Linietsky
36e0a72c77 -Code completion for enumerations
-Disabled GDNative and GDNativeScript so build compiles again
2017-08-24 00:06:56 -03:00
Rémi Verschelde
916fd47343 Merge pull request #10561 from Paulb23/smooth_scroll_input_override
Stops scrolling when the user issues another command
2017-08-23 08:09:13 +02:00
Paulb23
24c6c097f3 Stops scrolling when the user issues another command 2017-08-22 20:04:19 +01:00
Andreas Haas
5d25f6397f
TextEdit: Copy whole line if not having selection.
The functionality was already there but hidden behind a bogus return statement.
Fixes #10485
2017-08-22 20:05:52 +02:00
Rémi Verschelde
df590fc2d3 Merge pull request #10340 from Rubonnek/remove-unnecessary-assignments
Removed unnecessary assignments
2017-08-22 00:58:12 +02: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