Commit Graph

1289 Commits

Author SHA1 Message Date
Rémi Verschelde b3b4727dff
Merge pull request #14014 from kosz78/scroll-container-fix
Fix scroll enabled in case of content fit in scroll container
2017-12-08 08:28:29 +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 13c2ff9320 Style: Apply new clang-format 5.0 style to all files 2017-12-07 08:02:00 +01: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 f13bea768d
Merge pull request #14353 from TheAspiringHacker/fix-lineedit-eat
Check for icon in LineEdit::set_cursor_position
2017-12-07 07:38:26 +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
TheAspiringHacker de03966a65 Check for icon in LineEdit::set_cursor_position
Fixes #14340
2017-12-06 19:13:34 -05:00
Ian 1c1a6723d0 fixes horizontal scrolling over hidden lines 2017-12-06 19:04:47 -05:00
Rémi Verschelde ca439056a6
Merge pull request #14328 from YeldhamDev/popupmenu_submenu_fix
Fixed PopupMenu's submenus not showing up in certain situations
2017-12-07 00:19:22 +01:00
Rémi Verschelde e334b0c4b2
Merge pull request #13491 from RaXaR/master
Added get_popup() method to ColorPickerButton...
2017-12-06 23:47:43 +01: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 6629cc7a85 Fixed PopupMenu's submenus not showing up in certain situations. 2017-12-06 17:27:21 -02:00
Konstantin Zaitsev 0485fb4df3 Fix scroll enabled in case of content fit in scroll container 2017-12-06 11:00:46 +07:00
Dmitry Koteroff 0a1a5396ec Rich Text Label: fixed deselection issue 2017-12-04 18:46:20 +03:00
Michael Alexsander Silva Dias 6b07e8c624 Fixed FileDialog's "parent folder" button not having a texture. 2017-12-02 04:30:20 -02:00
RaXaR d6d0df4ba6 Added get_popup() method to ColorPickerButton. This allows to check if the picker is open or not using Popup signals.
Ammend: Added docs for the method.
2017-12-01 23:18:01 +02: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
Dmitry Koteroff ad351a29db Some improvements to file/dir open/save dialogs:
1. Removed "..", instead you now will see "Select Current Folder" and "Select this Folder" buttons.
2. Added "go to parent folder" (^) button to Save a File dialog.
3. Tree.cpp: "nothing_selected" signal has been re-made (previous implementation, merged in #13308, wasn't optimal in context of performance)
4. Fixed issue in Project Export dialog: MODE_SAVE_FILE wasn't set when you click "Export".
5. Now you can deselect items by clicking on empty space in Open a Directory dialog.
2017-11-27 22:39:36 +01:00
Rémi Verschelde 17b4f43e0e
Merge pull request #13308 from Krakean/scenetreedock_additemsdeselect
Scene Tree Dock: added ability to deselect items when clicking on empty space
2017-11-27 13:04:20 +01:00
Rémi Verschelde b620b3d697
Merge pull request #13318 from Paulb23/adjust_viewport_to_cursor_issue_13190
Fixes adjust viewport to cursor when line is to long, issue 13190
2017-11-27 00:53:17 +01:00
Rémi Verschelde 2755eeb2f0
Merge pull request #13252 from Krakean/file_dialogs_small_tweaks
A few adjustments to file/dir open dialogs
2017-11-27 00:23:15 +01:00
Rémi Verschelde 7e4cfe4b94
Merge pull request #13245 from Krakean/itemlist_add_some_signals
Added some new API functionality to Item List component
2017-11-26 21:05:41 +01:00
Dmitry Koteroff 80a2ede0d1 Item List small enhancements
Item list: added new signal - nothing_selected (when mouse clicked on empty space), and two new functions - unselect_all() and is_any_selected()
2017-11-26 22:56:42 +03:00
Paulb23 565809e736 Fixes adjust viewport to cursor when line is to long, issue 13190 2017-11-26 19:10:05 +00:00
Marcin Zawiejski 86ed07c41c
initialize bus_index to 0
fixes #13305
2017-11-26 18:16:31 +01:00
Dmitry Koteroff b8b5bb6577 Scene Tree Dock: added ability to deselect items when clicking on empty space 2017-11-26 18:30:48 +03:00
Juan Linietsky bc2e8d99e5 Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function,
leading to unnecesary copy on writes and reduced performance.
2017-11-25 00:09:40 -03:00
Dmitry Koteroff e3b0214f40 A few small adjustments to file dialogs:
a) Added Backspace key support for Tree-based file dialog.
b) Fixed issue inability to select a folder in project manager (always previous folder was selected instead).
c) Open Directory mode: changed "Open" to "Select Current Folder"
d) Block "Open" button when inappropriate content is selected (for example, file when in open folder mode, or folder when in open files mode)
2017-11-24 21:21:55 +03: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
George Marques 20b07a1fb5
Merge pull request #13121 from Krakean/change_filedialog_removedot
Remove the "." and "/" (at the end of folders name) from file manage dialog (open scene, open file, ...)
2017-11-21 12:30:20 -02: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
Dmitry Koteroff 20bda9a2ba Remove the "." from file manage dialog (open scene, open file, ...)
Also removed the "." from game control's FileDialog component.

Also remove the "/" at the end of folders name.
2017-11-21 05:32:44 +03:00
Rémi Verschelde ddc7793bba
Merge pull request #13105 from Krakean/master
Files list: Add "New Folder.." popup when nothing under mouse cursor
2017-11-20 22:44:23 +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
Dmitry Koteroff d67b602f2f Add "New Folder.." to right mouse button click on project fileslist panel _WHEN_ no any file/folder is under mouse cursor. 2017-11-20 21:25:13 +03:00
Rémi Verschelde 7b5c447301
Merge pull request #12952 from bojidar-bg/12392-export-enums
Allow exporting enums from GDScript
2017-11-20 09:11:46 +01:00
Rémi Verschelde 6d105aba9a
Merge pull request #12983 from ianb96/scene_add_tab
Add Scene button and tab scrolling
2017-11-20 09:11:31 +01:00
Rémi Verschelde d6dc909ebe
Merge pull request #12984 from willnationsdev/richtextlabel-hover-signal
RichTextLabel: Adding ability for single meta hovering
2017-11-20 09:10:52 +01: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
Rémi Verschelde d826b043ad
Merge pull request #12950 from ianb96/code_folding
Code Folding
2017-11-20 00:15:10 +01:00
Gilles Roudiere 8d1f2b1857 Rework the canvas_item API for further improves to the canvas item editor 2017-11-19 13:36:31 +01:00
Ian f8e8b7d1a2 add scene button and tab scrolling 2017-11-18 20:31:51 -05:00
Ian 1e59169d2d scrolling fixes 2017-11-18 20:07:53 -05:00
kbake a5973f4071 change expand_to_len property to add on nonzero...also rename to
expand_to_text_length and shift window on expand to see all text
2017-11-18 18:57:48 -05:00
Ian d350f506a0 TextEdit code folding 2017-11-17 21:49:43 -05:00