Rémi Verschelde
88c1430613
Merge pull request #17314 from robfram/complete-path-15813
...
Fix bad autocomplete of partially written node paths when using syntactic sugar notation ($)
2018-03-13 12:16:51 +01:00
Alexander Holland
e36dd4282b
auto-completion edge jump
...
arrow up/down jumps to end/start on edges
2018-03-09 17:31:07 +01:00
robfram
95f186b621
Fix bad autocomplete of partially written node paths when using syntactic sugar notation ($)
...
If you had a tree like Node2D->Sprite->Camera2D and you write a
code like $Node2D/Spr and chose the autocompletion sugested
Node2D/Sprite, the resulting string was $Node2D/Node2D/Sprite
instead $Node2D/Sprite. If you chose Node2D/Sprite/Camera2D, then
you ended with $Node2D/Node2D/Sprite/Camera2D.
Fix #15813 .
2018-03-06 19:25:14 +01:00
luz.paz
612ab4bbc6
Fix typos with codespell
...
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
2018-02-21 19:46:06 +01:00
Rémi Verschelde
6ee4298ee3
Merge pull request #16652 from aragar/FixQuotationInString
...
Fix quotation in string
2018-02-19 22:12:53 +01:00
Rémi Verschelde
2551db44e1
Merge pull request #15618 from ianb96/fold_comment
...
TextEdit folding over unindented comments
2018-02-14 16:36:42 +01:00
Rado'sPC\aRaGaR
f38e819fc1
Fix quotation in string
...
fix for #16404
2018-02-12 23:01:36 +02:00
binbitten
ba8c5bff69
Fix TextEdit current line highlight horizontal offset
2018-01-31 19:04:50 +01:00
Rémi Verschelde
9f479f096c
Fix typos in code and docs with codespell
...
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
Ian
1b837125ce
TextEdit fix get_mouse after many folds
2018-01-18 12:18:06 -05:00
Paulb23
386c57cfad
Fixed current line highligting with horizontal clipping, issue 15427
2018-01-14 16:06:27 +00:00
Paul Joannon
8ae0624c80
Deselect on undo/redo in TextEdit
2018-01-13 11:46:53 +01:00
Juan Linietsky
419705db6e
Add special coloring to members, to make shadowing more obvious.
2018-01-12 11:01:09 -03:00
Ian
d327f75392
TextEdit folding over unindented comments
2018-01-12 00:25:04 -05:00
Bojidar Marinov
9b8e8b2220
Bind many more properties to scripts
...
Notable potentially breaking changes:
- PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL
- Some properties were renamed, and sometimes even shadowed by new ones
- New getter methods (some virtual) were added
2018-01-12 00:58:14 +02:00
poke1024
c1db81b9ed
Fixes empty line selection when scrolling
2018-01-11 06:51:20 +01:00
Bernhard Liebl
3af5dfbbf3
Fix whole word search missing occurences
2018-01-08 22:50:33 +01:00
Ian
b3ad2538d0
fix center viewport out of size error, #15411
2018-01-06 18:06:09 -05:00
Rémi Verschelde
e4213e66b2
Add missing copyright headers and fix formatting
...
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
Rémi Verschelde
32bb236f24
Merge pull request #15334 from poke1024/textedit-mousepos
...
Fix TextEdit::_get_mouse_pos rounding errors
2018-01-04 19:53:43 +01:00
Bernhard Liebl
cc64679a20
Fix TextEdit::_get_mouse_pos rounding errors
2018-01-04 18:30:15 +01:00
Rémi Verschelde
023c04689e
Merge pull request #15308 from ianb96/horizontal_scrolling
...
TextEdit horizontal scrolling with shift
2018-01-04 01:35:38 +01:00
Rémi Verschelde
f9f6f250e6
Merge pull request #15191 from Jerome67000/z_renaming
...
renames "z" Node2D property to "z_index"
2018-01-04 00:41:45 +01:00
Ian
ae6b7c0b41
TextEdit horizontal scrolling with shift
2018-01-03 17:21:54 -05:00
Jerome67000
42ae3525a3
#15078 renamed "z" -> "z_index" property in Node2D
2018-01-03 13:02:26 +01:00
Rémi Verschelde
e3c744f9f1
Merge pull request #15127 from poke1024/smooth-scroll-play
...
Remove some lagginess from TextEdit's smooth scrolling
2018-01-03 11:34:42 +01:00
Rémi Verschelde
592b0fc068
Merge pull request #15063 from poke1024/textedit-select-last-line
...
Fix key down on last line in TextEdit
2018-01-03 10:30:51 +01:00
Rémi Verschelde
d7d8fc6c20
Merge pull request #14983 from Paulb23/keyboard_selection_issue_14675
...
Fixed keyboard word selection when at the start/end of line, issue 14675
2018-01-02 11:19:34 +01:00
Rémi Verschelde
b50a9114b1
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
Noshyaar
97d7f689e1
Merge pull request #14972 from poke1024/fix-unindent-col-0
...
Fix unindent (shift-tab) on column 0
2018-01-01 18:52:06 +07:00
Noshyaar
a6328011d8
Merge pull request #14973 from poke1024/docs-word-selection
...
Double-click word selection for RichTextLabel (i.e. docs)
2018-01-01 18:51:35 +07:00
Bernhard Liebl
2897523d12
Fix unindent (shift-tab) on column 0 and more
2017-12-28 17:48:40 +01:00
Bernhard Liebl
b80bc553dd
Double-click word selection for RichTextLabel (i.e. docs)
2017-12-28 17:44:22 +01:00
Bernhard Liebl
d640542f6d
Remove some lagginess from TextEdit's smooth scrolling
2017-12-28 15:49:37 +01:00
Ian
19c3f4c4c1
fix indent selection crash
2017-12-26 12:13:17 -08:00
Bernhard Liebl
076a5f35fc
Fix shift-key down on last line in TextEdit
2017-12-26 08:32:30 +01:00
Poommetee Ketson
6c897707ca
Add missing parameter names
2017-12-25 21:19:56 +07:00
Paulb23
a11a691b17
Fixed keyboard word selection when at the start/end of line, issue 14675
2017-12-23 14:47:04 +00:00
MattUV
a55870cd81
Adds an option to move cursor with right click in TextEdit
...
Fixes #14832
- Added an option in the editor settings/cursor to make the cursor move with right click.
- If the option is activated (true by default), a right click will move the cursor before displaying context menu.
- If there is a selection, a right click on it will keep it selected, a right click outside it will unselect it.
- The option is available in textEdit via an inspector property (or via GDScript): caret_moving_by_right_click
- The option is available in the script editor and the shader editor via the editor settings
- The documentation has been updated with the new property, and a few other entries in TextEdit.xml.
2017-12-20 09:01:09 +01:00
Bernhard Liebl
abfcce0067
Fix cut-copy-line breaking paste (issue 14539)
2017-12-17 16:24:23 +01:00
Rémi Verschelde
d03f35f1bc
Bind TextEdit.deselect and update documentation
2017-12-16 21:08:31 +01:00
MattUV
db020f3cea
Modifies indentation behaviours
...
Partially fixes #14559 (see the issue for details);
Removes some code redondancy ;
Adds the possibility to indent left and right without selecting text ;
Adds the entries to the context menu when text is not selected ;
Renames indent_selection_left() and indent_selection_right() to indent_left() and indent_right() ;
Unifies context menus of shader text editor and script text editor.
2017-12-15 10:04:56 +01:00
MattUV
e669ca2576
Modify shortcuts and menus to fold/unfold code
...
Fix #13180
As the same shortcut cannot be assigned to two actions, I removed the ability to fold (fold_line()) or unfold (unfold_line()) via menu (still possible by code), and there is a single fold/unfold action (toggle_fold_line()).
The new default shortcut is now Alt+F
2017-12-08 19:21:48 +01:00
Paulb23
48ad133cf9
Changed current line draw order and added code folding color
2017-12-07 19:17:43 +00:00
Rémi Verschelde
8a07cb0b69
Merge pull request #14352 from ianb96/get_hidden_width
...
Fixes horizontal scrolling over hidden lines
2017-12-07 07:52:01 +01:00
Rémi Verschelde
46ac939a74
Merge pull request #13362 from groud/fix_folding
...
Fixes folding of blank lines
2017-12-07 07:20:41 +01:00
Ian
1c1a6723d0
fixes horizontal scrolling over hidden lines
2017-12-06 19:04:47 -05:00
Rémi Verschelde
7b557a4e1f
Merge pull request #13409 from YeldhamDev/textedit_disabled
...
Add disabled theme to TextEdit
2017-12-06 23:42:54 +01:00
Michael Alexsander Silva Dias
2773c12156
Add disabled theme to TextEdit.
2017-12-01 01:32:26 -02:00
Ian
d1c7ed4117
last line scroll fix when scroll_past_last_line is disabled
2017-11-28 16:52:52 -05:00
Gilles Roudiere
e13ff74c09
Fixes folding of blank lines
2017-11-28 20:03:46 +09:00
Paulb23
565809e736
Fixes adjust viewport to cursor when line is to long, issue 13190
2017-11-26 19:10:05 +00:00
Paulb23
f6f475e6ba
Fixed not be able to unfold the last line
2017-11-23 20:37:08 +00:00
ianb96
19c92c69c3
code folding scrolling fixes
2017-11-21 17:09:04 -05:00
Rémi Verschelde
fee2f367af
Merge pull request #13134 from Chaosus/fixinvalidscroll
...
Fix invalid scroll
2017-11-21 14:25:15 +01:00
Chaosus
9240b7f2d1
Fix invalid scroll
2017-11-21 12:52:46 +03:00
Bernhard Liebl
80ad8afc85
Native pan and zoom for macOS
2017-11-21 09:11:39 +01:00
Daniel J. Ramirez
e5de5b4908
Visual fixes
...
Added some icons (Including the onion one)
Fixed text editor ellipsis style and editor tabs
2017-11-20 13:03:22 -06:00
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