summaryrefslogtreecommitdiff
path: root/editor/code_editor.cpp
AgeCommit message (Collapse)Author
2019-06-23Center script line when double clicked on error in debuggerDawid Wdowiak
2019-06-19Merge pull request #28787 from mitchcurtis/fix-28059Rémi Verschelde
Script Text Editor: respect Move Down and Move Up shortcuts on macOS
2019-06-17Merge pull request #28766 from pgoral/editor_validation_issueRémi Verschelde
Changing method signature in other class in not recognized in working…
2019-06-12Merge pull request #29306 from qarmin/small_code_fixesRémi Verschelde
Small fixes to unrechable code, possibly overflows, using NULL pointers
2019-06-11Merge pull request #29262 from DarknessCatt/issue-27476Rémi Verschelde
Automatically add new line to scripts
2019-06-03Small fixes to unrechable code, possibly overflows, using NULL pointersqarmin
2019-05-30Fix memory leak in Text Editor and FileSystem Dockqarmin
2019-05-29Automatically add new line to scriptsMatheus Lima Cunha
2019-05-29Changing method signature in other class in not recognized in working class ↵Goral
in typed GDScript #28685
2019-05-20Merge pull request #28218 from KoBeWi/b00km4rk5Rémi Verschelde
Add bookmarks for easier code navigation
2019-05-09Script Text Editor: respect Move Down and Move Up shortcuts on macOSMitch Curtis
Handle shortcuts in CodeTextEditor::_input() so that we get them before its text_editor's TextEdit::_gui_input() function does. If we don't, that function will execute the following code: if (k->get_shift()) { _pre_shift_selection(); } #ifdef APPLE_STYLE_KEYS if (k->get_command()) { cursor_set_line(0); } else #endif So using Command+Shift+Up for the Move Up shortcut would just result in selecting all text to the beginning of the document, rather than moving the current line up. Fixes #28059.
2019-05-05Add bookmarks for easier code navigationTomasz Chabora
2019-04-30Issue-28355 - show spaces in editormiwanczuk
2019-04-30Merge pull request #25751 from Calinou/faster-script-error-checkingRémi Verschelde
Allow floating-point values in the idle parse delay editor setting
2019-04-26Allow floating-point values in the idle parse delay editor settingHugo Locurcio
This also makes value changes effective without having to restart the editor.
2019-04-23Added a marker in text_edit that tells which row is executing.Rikhardur Bjarni Einarsson
2019-04-22Merge pull request #28234 from Paulb23/connection_info_on_scriptRémi Verschelde
Display connection information in the script editor
2019-04-20Display connection information in the script editorPaulb23
2019-04-13Restore script editor state between sessionsPaulb23
2019-04-06Find the previous match in script editor when pressing Shift + EnterHugo Locurcio
This allows cycling through matches more efficiently.
2019-03-16Merge pull request #25782 from hsandt/feature/fix-toggle-comment-indentRémi Verschelde
Feature/fix toggle comment indent
2019-03-01Updates error label font in status barChaosus
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-04[Code Editor] Fixed toggle_inline_comment moving cursor position by 1 even ↵hsandt
with longer delimiter like "//"
2019-02-04[Script Editor] Refactored ScriptTextEditor::_edit_option by extracting ↵hsandt
EDIT_TOGGLE_COMMENT case CodeEditor::toggle_inline_comment is now used by both ScriptTextEditor and ShaderEditor
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.