Johnson Earls
d1cf29fe99
Fix search to find "whole" words at end of line
...
Fix `_get_column_pos_of_word` so that the `SEARCH_WHOLE_WORDS` flag will properly find words that are at the end of a line.
Fixes #7326 .
2016-12-18 06:19:22 -08:00
volzhs
384625aa31
Emit "*_changed" signal in set_*
2016-11-14 04:21:29 +09:00
Rémi Verschelde
7d1230a266
Merge pull request #7052 from Paulb23/text_edit_color_uniformation
...
Made background and symbol color follow the color API
2016-11-09 15:47:15 +01:00
Paulb23
7b036a94bf
Caret blink will no longer cause redraw without focus, issue 6167
2016-11-06 14:15:59 +00: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
6dfa405eac
Fix code completion drawing under other gui elements.
...
Raises the z-index of the Script editor when the completion is shown.
fixes #1257
fixes #6690
2016-10-05 10:19:52 +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
Andreas Haas
9c71e5a9df
Fix ability to cut/paste text in LineEdit/TextEdit in readonly mode.
...
Fixes #6466
2016-09-19 14:17:48 +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
95eb7466df
-Added a ColorFrame control, kind of like Texture but for color.
...
-Added dropping nodes to text editor for them to become a path
-Fixed issues with font not properly being set in code editor
2016-09-11 11:28:01 -03:00
Ignacio Etcheverry
e9f9e00bd9
Confirm code completion with numpad key ENTER
2016-08-12 13:37:10 +02:00
Paulb23
740dea7de7
Exposed enable syntax highlighting to properties
2016-07-28 15:47:47 +01: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
5505f0c776
Fixed caret width on tabs
2016-07-18 15:15:40 +01:00
Rémi Verschelde
62eae7cbe2
Merge pull request #5723 from Paulb23/toggle_breakpoint_gutter_issue_5712
...
Fixed toggle breakpoint gutter not updating when the game is running, issue 5712
2016-07-18 00:52:36 +02:00
Paulb23
b550471a14
Fixed breakpoint gutter toggle not updating when game is running, issue 5712
2016-07-15 15:02:55 +01: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
d43adcbb1e
Fixed highlight all occurrences highlighing highlighted section
2016-07-10 16:10:54 +01:00
Rémi Verschelde
454b210242
Remove unused variables (third pass) + dead code
...
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:16:21 +02:00
George Marques
55b8a353f5
Fix completion string check when column = 0
2016-07-03 18:49:58 -03:00
George Marques
ec18b97f5c
Stop completion when the match is perfect
...
to avoid the completion insisting showing up after a completion.
2016-07-03 11:34:23 -03:00
George Marques
805b668d7f
Fix code completion sorting
2016-07-03 11:32:30 -03:00
Rémi Verschelde
da2f7e3c38
Merge pull request #5419 from djrm/shortcuts
...
Shortcuts for script switching in script Mode
2016-06-30 08:04:26 +02:00
Rémi Verschelde
fcf6977610
Merge pull request #5487 from Paulb23/function_highlighting_issue_5454
...
Fixed function highlighting with spaces
2016-06-30 07:57:31 +02:00
Paulb23
484f4d8dec
Fixed function highlighting with spaces
2016-06-29 15:29:22 +01:00
Paulb23
7f98f37f13
Fixed selected text turning black, issue 5199
2016-06-26 16:38:16 +01:00
Daniel J. Ramirez
8f259ff5ca
Shortcuts for script switching in script Mode
2016-06-26 10:21:02 -05:00
Ignacio Etcheverry
f1e7552722
Fix weird deselection behaviour with text field
...
- TextEdit will now deselect if Ctrl+Left/Right is pressed
- TextEdit and LineEdit no longer deselect text when Alt is pressed (except with Apple style keys)
2016-06-24 14:26:40 +02:00
Rémi Verschelde
87cb3629f2
Merge pull request #5344 from Paulb23/code_completion_colors
...
Code completion box colors
2016-06-22 07:51:33 +02: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
8f6b56cfda
Fixed caret not drawing on focus regain
2016-06-20 20:29:58 +01:00
Rémi Verschelde
3668768463
Merge pull request #5196 from vnen/similarity-code-completion
...
Improve code completion search
2016-06-20 13:37:24 +02:00
Paulb23
8cbd0b9ae3
Text Edit no longer draws caret on focus loss
2016-06-19 16:11:16 +01:00
George Marques
66e7ddb55b
Improve code completion search
...
- List completion by subsequence match.
- Case insensitive.
- Sort completion list by similarity.
2016-06-19 11:43:47 -03:00
George Marques
831ae2d510
Fix TextEdit cursor position after undo remove text
...
It was going to where the text started, now it goes to where the text
ends.
2016-06-19 11:43:47 -03:00
Ignacio Etcheverry
bc9f9b1c6a
TextEdit: Change font size with Ctrl+Mouse Wheel Up/Down
2016-06-18 18:47:11 +02:00
Juan Linietsky
333de40180
does not fix the bug reported in #4326 and #4818 ,
...
but at least make sure it throws and error and does not crash
2016-06-14 08:57:00 -03:00
marcelofg55
3787856563
Fixed overloaded virtual functions with const vs none warning
2016-06-12 13:31:22 -03:00
Paulb23
e260e3872c
Caret blink no longer updates when hidden, issue 5100
2016-06-08 14:02:39 +01:00
Paulb23
d66b034bd1
Improved breakpoint marker position, and scales with font size
2016-06-07 16:59:16 +01:00