Commit graph

585 commits

Author SHA1 Message Date
Franklin Sobrinho 5708006340 Fix tree drawing the pressed stylebox in all buttons in the column 2016-07-10 19:03:43 -03:00
Juan Linietsky 864c0e84de line/col label was changing size with each cursor move, forcing the GUI to resize upwards and costing considerably CPU usage.
It has been changed so it won't resize the UI when modified.
This will make the code editor feel a lot smoother.
2016-07-09 14:56:08 -03:00
Juan Linietsky 1d6be8b00d Changed tree so shift-selection skips folded children, closes #5515 2016-07-09 13:15:45 -03: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
Franklin Sobrinho 5c3c87206b Fix TreeItem range editing by dragging on the inspector 2016-07-04 12:14:49 -03: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
Juan Linietsky ec94dd7eee Fixed the order of input, reverts #4384, closes #5361 2016-07-01 11:42:09 -03:00
Juan Linietsky 8cbb154466 Color picker was getting too much focus, made it get not as much focus.
This abuse of focus was the original culprit of #5354
2016-07-01 10:55:35 -03:00
Juan Linietsky f6725f9768 throw error if GridContainer::set_columns goes below 1, closes #5316 2016-06-30 18:54:54 -03:00
Juan Linietsky 89bb72b2d3 Only emit item_selected once per Tree row, closes #5280 2016-06-30 17:52:32 -03:00
Paulb23 050a514799 Fixed signal connection prints when moving docks, issue 5498 2016-06-30 15:12:14 +01:00
Rémi Verschelde a99ca66ce5 Merge pull request #5449 from sanikoyes/Pr-placeholder-line-edit
Add placeholder property for line_edit
2016-06-30 08:06:26 +02: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
Juan Linietsky fe5ee68489 Merge pull request #5429 from Paulb23/selected_text_highlighting_issue_5199
Fixed selected text turning black, issue 5199
2016-06-29 18:31:47 -03:00
Paulb23 484f4d8dec Fixed function highlighting with spaces 2016-06-29 15:29:22 +01:00
Jean Jung 2fd9b77828 itemlist-get_selected_items 2016-06-28 14:09:17 -03:00
sanikoyes c702981d57 add placeholder alpha property 2016-06-28 11:45:17 +08:00
Juan Linietsky ba5bc57816 Figured out a way to fix event propagation for shortcuts and some other cases so they properly stop shortcuts if a modal window is open, closes #4848 2016-06-27 20:14:59 -03:00
Juan Linietsky 88e28af5e3 Add a small workaround to avoid modal tabs to be closed if they are spawned in the same frame, closes #3837 2016-06-27 11:22:13 -03:00
Juan Linietsky e2d208f122 Ability to rotate controls using tool, closes #3800 2016-06-27 10:47:51 -03:00
sanikoyes 081c400ac6 Add placeholder property for line_edit
this useful for user input tip
2016-06-27 19:47:40 +08: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
Rémi Verschelde b02d67be30 Merge pull request #5307 from MarianoGnu/master
TextureRegion improvements
2016-06-26 09:43:45 +02:00
Rémi Verschelde 06c6516604 Merge pull request #5379 from neikeq/pr-issue-5375
Fix weird deselection behaviour with text field
2016-06-24 21:14:47 +02:00
Rémi Verschelde 118f54aeeb Merge pull request #5328 from Paulb23/line_edit_caret
Added caret blink to line edit
2016-06-24 21:13:26 +02: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
Juan Linietsky 9e0b6057e7 Make button aware of it being dragged and reset state, closes #4178 2016-06-23 18:20:39 -03:00
Juan Linietsky a8f8f52b19 Fix issue saving flags (size fill expand), fixes #4176 2016-06-23 17:03:34 -03:00
Paulb23 4f54e72189 Added setting to toggle line edit caret blink 2016-06-22 13:26:44 +01:00
Paulb23 e09e036565 Line edit caret no longer draws on focus loss 2016-06-22 13:26:44 +01:00
Paulb23 e65eba664f Added caret blink to line edit 2016-06-22 13:20:48 +01: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
MarianoGNU 79c500bee1 Modify margins with mouse input 2016-06-20 17:06:19 -03: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
Rémi Verschelde b9f944ed5c Merge pull request #5271 from neikeq/pr-issue-1004
LineEdit cursor fixes and improvements
2016-06-19 13:06:31 +02:00
Rémi Verschelde c7b425ed9c Merge pull request #5259 from neikeq/pr-textedit-zoom
TextEdit: Change font size with Ctrl+Mouse Wheel Up/Down
2016-06-19 13:04:20 +02:00
Rémi Verschelde 360cebaf23 Merge pull request #5234 from Paulb23/fix_error_tab_print
Fixed error: set_current_tab print on project open
2016-06-19 13:00:12 +02:00
Juan Linietsky 400febf585 Add function to get the color picker dialog from ColorPickerButton, closes #4415 2016-06-19 02:08:22 -03:00
Ignacio Etcheverry 4928cc34eb LineEdit: Word jumping and OSX hotkeys 2016-06-18 20:53:46 +02:00