summaryrefslogtreecommitdiff
path: root/editor/code_editor.cpp
AgeCommit message (Collapse)Author
2019-02-16Merge pull request #24574 from SeleckyErik/issue-21814Rémi Verschelde
Made clone (CTRL+B) in code editor clone only the selection.
2019-02-13Hide the warnings panel when no warnings presents.allkhor
2019-02-10General cleanup of script and doc search barsMichael Alexsander Silva Dias
2019-02-08Merge pull request #25552 from groud/better_error_messageRémi Verschelde
Displays errors and warnings in a better way in the script editor
2019-02-01Displays errors and warnings in a better way in the script editorGilles Roudière
2019-01-31Moved script editor search bar to the bottom, so it doesn't shift everything ↵Marc Gilleron
down
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-25Made clone (CTRL+B) in code editor clone only the selection.Erik
In code editor, when code is selected, cloning (CTRL+B) now clones only the selected code. The code is cloned to the end of selection. The previous behaviour was to clone the full line which the selection "touches" to the new line after the end of selection.
2018-12-21Change LinkLabel back to Label in error status barChaosus
2018-12-18EditorSettings: Remove enable_code_completion_delayRémi Verschelde
It was badly named (it disables code completion, not just the delay), and also badly implemented (not preventing the timer for running, but just preventing it to show the autocompletion). It could be readded with a proper name and cleaner implementation if there's an actual need for it. Supersedes #24407 and closes #24352.
2018-12-13Revert "Use more subtle indentation guides in the script editor"Rémi Verschelde
2018-12-09Merge pull request #20725 from Calinou/textedit-subtle-indent-guidesRémi Verschelde
Use more subtle indentation guides in the script editor
2018-11-28Merge pull request #23924 from Kanabenki/font-size-updateRémi Verschelde
Display font size with zoom in code editor and refresh on settings change
2018-11-22Display font size with zoom in code editor and refresh on settings changeKanabenki
2018-11-22Allows user to click on error line to jump into error.Chaosus
2018-11-04Fix clone line undo history and extra new line, issue 21811Paulb23
2018-10-13Fixed delete line being off by one, issue 22819Paulb23
2018-10-03Use more subtle indentation guides in the script editorHugo Locurcio
2018-09-18Fix find-in-files and go-to-line dialog (partially)Poommetee Ketson
2018-09-18Fixed clicking on Find/Replace doesn't set the focus on the text fieldDualMatrix
Fixed clicking on Find/Replace doesn't set the focus on the text field
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-08-24Make some debug prints verbose-only, remove othersRémi Verschelde
2018-08-13Merge pull request #20670 from Calinou/script-editor-zoom-hidpiRémi Verschelde
Fix zoom display in the script editor on hiDPI displays
2018-08-10Added system for GDScript warningsGeorge Marques
- Count and panel per script. - Ability to disable warnings per script using special comments. - Ability to disable warnings globally using Project Settings. - Option to treat enabled warnings as errors.
2018-08-02Fix zoom display in the script editor on hiDPI displaysHugo Locurcio
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
2018-07-22Refactored text manipulation into CodeTexteditorPaulb23
2018-07-05Merge pull request #19498 from guilhermefelipecgs/fix_regressionMax Hilbrunner
Fix "find and replace" initializing with wrong size
2018-06-13Fix "find and replace" initializing with wrong sizeGuilherme Felipe
Fix the code editor outside the allowed limits.
2018-05-30Improve breakpoints and breakpoint gutter API in TextEditGabriel Gavilan
Added breakpoint_gutter, is_breakpoint_gutter_enabled, set_breakpoint_gutter_enabled, get_breakpoints, remove_breakpoints. Fixed breakpoint_toggled signal not fierd when text is edited. Fixes #18026.
2018-05-16Add margin bottom with find/replace bar on script editorvolzhs
2018-05-14TextEdit word wrapIan
2018-05-07Fix:code editor text size should change at least one each time, don't mind ↵RaphaelHunter
how you setting your display scale
2018-05-03Script Editor now displays positional columnUnknown
This solves #17931 and makes the script editor consistent with other text editors(Sublime, Gedit, Vim) in displaying the position rather than the raw number of characters.
2018-03-25Fixes replace all not replacing the first wordCrazy-P
2018-02-19Merge pull request #16241 from Chaosus/zoomlabelRémi Verschelde
Added zoom label to code editor
2018-02-14Maked status bar label fonts updateableChaosus
2018-01-31Added zoom label to code editorChaosus
2018-01-18Fix find/replace barvolzhs
- make LineEdit resizable for find/replace - move replaced count/no match message to status bar - fix replaced n occuurence message is not displayed when n > 0 Fixes #15394
2018-01-14Remove the unused FindReplaceDialog classGilles Roudiere
2018-01-08Set source code font with ttf, otfvolzhs
renamed interface/editor/custom_font to interface/editor/main_font moved text_editor/theme/font to interface/editor/code_font renamed interface/editor/font_size to interface/editor/main_font_size renamed interface/editor/source_code_size to interface/editor/code_font_size
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
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-03Merge pull request #15126 from poke1024/code-editor-autowrap-errorRémi Verschelde
Make code editor's error display autowrap
2018-01-03Make code editor's error display autowrapBernhard Liebl
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-11-21Native pan and zoom for macOSBernhard Liebl
2017-11-18scrolling fixesIan
2017-11-17TextEdit code foldingIan
2017-10-22Added setting to toggle current line highlightingPaulb23
2017-10-02Merge pull request #11646 from djrm/pr_visual_improvementsPoommetee Ketson
Several visual improvements.