summaryrefslogtreecommitdiff
path: root/editor/code_editor.cpp
AgeCommit message (Collapse)Author
2020-04-28Rename InputFilter back to InputRémi Verschelde
It changed name as part of the DisplayServer and input refactoring in #37317, with the rationale that input no longer goes through the main loop, so the previous Input singleton now only does filtering. But the gains in consistency are quite limited in the renaming, and it breaks compatibility for all scripts and tutorials that access the Input singleton via the scripting language. A temporary option was suggested to keep the scripting singleton named `Input` even if its type is `InputFilter`, but that adds inconsistency and breaks C#. Fixes godotengine/godot-proposals#639. Fixes #37319. Fixes #37690.
2020-04-06Merge pull request #37447 from ThakeeNathees/text-replace-empty-string-fixRémi Verschelde
replace selected text with empty string bug fixed
2020-04-06replace selected text with empty string bug fixedThakee Nathees
Fix: #37416
2020-04-02Replace NULL with nullptrlupoDharkael
2020-03-26Popups are now windows also (broken!)Juan Linietsky
2020-03-26Working multiple window support, including editorJuan Linietsky
2020-03-26Refactored input, goes all via windows now.Juan Linietsky
Also renamed Input to InputFilter because all it does is filter events.
2020-03-26Refactored Input, create DisplayServer and DisplayServerX11Juan Linietsky
2020-03-01Merge pull request #18020 from bruvzg/input_fix_non_latin_and_add_hw_scancodesRémi Verschelde
Fix non-latin layout scancodes on Linux, adds access to physical scancodes.
2020-03-01Merge pull request #36621 from ↵Rémi Verschelde
WizardOhio24/fix-wrong-selection-on-line-clone-down Fix wrong selection on cloning a line down in the editor
2020-02-29Fix wrong selection on cloning a line down in the editorRichard Menzies
2020-02-28Signals: Manually port most of remaining connect_compat usesRémi Verschelde
It's tedious work... Some can't be ported as they depend on private or protected methods of different classes, which is not supported by callable_mp (even if it's a class inherited by the current one).
2020-02-28Signals: Port connect calls to use callable_mpRémi Verschelde
Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)
2020-02-27Merge pull request #36232 from Calinou/add-soft-line-length-guidelineRémi Verschelde
Add a soft line length guideline to the script editor
2020-02-25Rename `scancode` to `keycode`.bruvzg
Add `physical_keycode` (keyboard layout independent keycodes) to InputEventKey and InputMap. Fix non-latin keyboard layout keycodes on Linux/X11 (fallback to physical keycodes).
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-02-16Allow for continuous deletion/duplication of linesTomasz Chabora
2020-02-15Add a soft line length guideline to the script editorHugo Locurcio
The default value is 80. The hard line length guideline's default column has been moved to 100 to account for the new soft line length guideline. It can be disabled by setting its value to the same column as the hard line length guideline. This closes https://github.com/godotengine/godot-proposals/issues/347.
2020-02-14Merge pull request #36030 from dreamsComeTrue/fix-replace-text-enteredRémi Verschelde
Allow using Enter key for replacing text in code editors
2020-02-11Texture refactorJuan Linietsky
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
2020-02-08Allow using Enter key for replacing text in code editors (also Shift + Enter ↵Dominik 'squ@ll' Jasiński
works backwards) Fixes issue #31762
2020-01-31Merge pull request #33639 from YeldhamDev/replaced_label_locationRémi Verschelde
Make the replaced results appear in the matches counter
2020-01-15Fix typos with codespellRémi Verschelde
Using codespell 1.16.0. See ab3bccdb78cc7dffb6ab796053ef63489f05558d for procedure.
2020-01-11Fixes minimap width on HiDPI monitorHaoyu Qiu
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-12-22Merge pull request #34441 from KoBeWi/wrapping_things_upRémi Verschelde
Fix code editor not always centering to bookmarks
2019-12-19Fix ScriptTextEditor encapsulationYuri Roubinsky
2019-12-18Fix code editor not always centering to bookmarksTomasz Chabora
2019-12-18Updates toggle scripts switch tooltip (if user changed the shortcut)Yuri Roubinsky
2019-12-17Fix toggle scripts panel to allow using shortcut in other areasYuri Roubinsky
2019-12-17Prevent showing toggle scripts panel switch in shader editorYuri Roubinsky
2019-12-15Moves switch for show scripts panel from File menu to status barYuri Roubinsky
2019-12-09Fixes Delete Line doesn't delete first line in scriptHaoyu Qiu
Also, match multi-line delete behavior in script with single line: If there are four lines: A, B, C, D. Before the change: Delete C: Cursor lands on D Delete B and C: Cursor lands on A After the change: Delete C: Cursor lands on D Delete B and C: Cursor lands on D
2019-12-01Center Script Editor when jumping to bookmarks/breakpointsTomasz Chabora
2019-11-15Make the replaced results appear in the matches counterMichael Alexsander
2019-11-14Fix incorrect error label color when switching from light to dark themeYuri Roubinsky
2019-11-14Fix "matches" label color in light themeYuri Roubinsky
2019-10-14Code editor: select next occurrence after ReplacelupoDharkael
2019-10-01Fix text search bar not correctly switching from replacing to just searchingMichael Alexsander
2019-09-02Fix editor infinit loop in search_prevamakarenko
Fixes godotengine#31328
2019-09-01Reorganize & rename text editor settings categoriesCykyrios
Add Navigation category for scroll and minimap settings. Rename Line Numbers category to Appearance. Rename Open Scripts category to Script List. Rename "Draw Minimap" setting to "Show Minimap" (this is more consistent with other settings). Reorder settings by category in code_editor.cpp to match settings list
2019-08-21Add minimap to text_editPaulb23
2019-08-14Fix matches result in the code search not appearing when the quantity is 0Michael Alexsander Silva Dias
2019-08-14Merge pull request #31329 from KoBeWi/vscode_ftwRémi Verschelde
Tweak the behavior of search/replace bar
2019-08-13Merge pull request #31355 from nekomatata/fix-select-prev-freezeRémi Verschelde
Fixed freeze on search previous
2019-08-13Fixed freeze on search_prev (missing condition for searching from a previous ↵PouleyKetchoupp
result, now the same as search_next) Fixes #31328
2019-08-13Tweak the behavior of search/replace barTomasz Chabora
2019-08-13Make the script search have a proper matches counterMichael Alexsander Silva Dias
2019-08-02Select found text in Script EditorTomasz Chabora
2019-07-18Enable the script editor's "Auto Brace Complete" by defaultHugo Locurcio
This also adds a setting hint for the "Code Complete Delay" setting and cleans up some duplicated default setting values. This closes #30662.