summaryrefslogtreecommitdiff
path: root/editor/code_editor.cpp
AgeCommit message (Collapse)Author
2018-10-13Fixed delete line being off by one, issue 22819Paulb23
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.
2017-10-02Merge pull request #11661 from mhilbrunner/issue-11616-always-validatePoommetee Ketson
Editor: Run validation on every text change, not only inserts
2017-09-30Editor: Run validation on every text change, not only insertsmhilbrunner
2017-09-29EditorSettings: Move interface/ properties to interface/editorAndreas Haas
Fixes inconsistent behaviour where clicking on the "Interface" in the Editor Settings wouldn't collapse the category as is the case for all the other categories.
2017-09-28Several visual improvements.Daniel J. Ramirez
Added proper label sizing Improved text editor status bar Fixed some issues with ItemList and also some style fixes Added background to color picker samples (the mrcdk fix) Fixed slider ticks. Added VS breakpoint and error styleboxes.
2017-09-25Fix missing code editor find and replace missing hover icon.Daniel J. Ramirez
2017-09-20Rename pos to position in user facing methods and variablesletheed
Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
2017-09-20Merge pull request #11422 from poke1024/fixsourcefontsize2Rémi Verschelde
Better script code font size rescaling on retina displays
2017-09-19better script code font size rescaling on retina displayspoke1024
2017-09-06second take at autocomplete logic, using a TextOperation check.Paulo Gomes
2017-08-31Added setting to toggle auto indentPaulb23
2017-08-30added icon updating to most ui elementstoger5
2017-08-30White Themetoger5
- almost all the colors are generated now. They get adapted based on the theme color. All the correct icons are used - error label now uses error color - added missing button colors in editor theme
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-26Code editor: Don't play hide and seek with error labelRémi Verschelde
2017-08-24-Code completion for enumerationsJuan Linietsky
-Disabled GDNative and GDNativeScript so build compiles again
2017-08-22Merge pull request #10340 from Rubonnek/remove-unnecessary-assignmentsRémi Verschelde
Removed unnecessary assignments
2017-08-21Removed unnecessary assignmentsWilson E. Alvarez