summaryrefslogtreecommitdiff
path: root/scene/gui/text_edit.cpp
AgeCommit message (Collapse)Author
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-02-28 Various fixes detected using PVS-Studio static analyzer.Thaer Razeq
- Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
2017-02-21-renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky
modified files) -.pck and .zip exporting redone, seems to be working..
2017-02-13Rename the _MD macro to D_METHODHein-Pieter van Braam
This new name also makes its purpose a little clearer This is a step towards fixing #56
2017-02-13Remove use of _SCS from ADD_METHODHein-Pieter van Braam
This saves typing and is a step towards fixing #56
2017-02-03Selected text is now deselected on ctrl+home/endkbake
This fixes Issue #7694 and also the error mentioned in the comments of that issue.
2017-01-28Fixed line lenght guideline drawing with color optionPaulb23
2017-01-16Style: Fix statements ending with ';;'Rémi Verschelde
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
2017-01-13New API for visibility in both CanvasItem and SpatialJuan Linietsky
visible (property) - access set_visible(bool) is_visible() is_visible_in_tree() - true when visible and parents visible show() hide() - for convenience
2017-01-08PopupMenu now emits both index_pressed and id_pressed instead of ↵Juan Linietsky
item_pressed, closes #3188
2017-01-08renamed _input_event for GUI events to _gui_input, so it's more ↵Juan Linietsky
differentiated than generalized _input
2017-01-08Fix code completion for new getnode syntaxJuan Linietsky
2017-01-07Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky
renamed to PoolVector
2017-01-05-Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky
categories. -Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
2017-01-04-Conversion of most properties to a simpler syntax, easier to use by scriptJuan Linietsky
-Modified help to display properties GDScript can still not make use of them, though.
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
2016-12-18Fix search to find "whole" words at end of lineJohnson Earls
Fix `_get_column_pos_of_word` so that the `SEARCH_WHOLE_WORDS` flag will properly find words that are at the end of a line. Fixes #7326 .
2016-11-14Emit "*_changed" signal in set_*volzhs
2016-11-09Merge pull request #7052 from Paulb23/text_edit_color_uniformationRémi Verschelde
Made background and symbol color follow the color API
2016-11-06Caret blink will no longer cause redraw without focus, issue 6167Paulb23
2016-11-06Made background and symbol color follow the color APIPaulb23
2016-10-13Allow turing off zero-padding for line numbersPedro J. Estébanez
2016-10-11Merge pull request #6778 from Hinsbart/completion_zRémi Verschelde
Fix Script Editor drawing over Dialogs.
2016-10-10Fix Script Editor drawing over Dialogs.Andreas Haas
Resets the z-index when focus is lost and the completion is shown. Fixes #6769
2016-10-10Add line length guideline to code editorsPedro J. Estébanez
2016-10-05Fix code completion drawing under other gui elements.Andreas Haas
Raises the z-index of the Script editor when the completion is shown. fixes #1257 fixes #6690
2016-09-29Add inline ColorPicker to Script text editor.Andreas Haas
Adds an option to the script editor context menu that lets you open a ColorPicker in order to easily edit `Color()` constructors. To do this, right click on the word `Color` and select `Pick Color`. A side effect of this change is that the script editor now has its own context menu instead of re-using the one from TextEdit. It's now possible to indent left/right and to toggle comments via this menu. I also felt free to make it more context-sensitive than before: Now "Cut" and "Copy" will only be shown if text has actually been selected. I also added default shortcuts for indent left/right. (alt + left/right) Closes #6232
2016-09-19Fix ability to cut/paste text in LineEdit/TextEdit in readonly mode.Andreas Haas
Fixes #6466
2016-09-12Do ctrl-click on any code identifier to go to definiton or help page.Juan Linietsky
2016-09-11-Added a ColorFrame control, kind of like Texture but for color.Juan Linietsky
-Added dropping nodes to text editor for them to become a path -Fixed issues with font not properly being set in code editor
2016-08-12Confirm code completion with numpad key ENTERIgnacio Etcheverry
2016-07-28Exposed enable syntax highlighting to propertiesPaulb23
2016-07-23Merge pull request #5737 from neikeq/pr-issue-5269Rémi Verschelde
TextEdit: Scroll search results to the center
2016-07-21TextEdit: Center search resultsIgnacio Etcheverry
2016-07-18Fixed caret width on tabsPaulb23
2016-07-18Merge pull request #5723 from Paulb23/toggle_breakpoint_gutter_issue_5712Rémi Verschelde
Fixed toggle breakpoint gutter not updating when the game is running, issue 5712
2016-07-15Fixed breakpoint gutter toggle not updating when game is running, issue 5712Paulb23
2016-07-12Added block caret to TextEditPaulb23
2016-07-11Expose highlight all occurrencesPaulb23
2016-07-11Expose show line numbersPaulb23
2016-07-11Added completion font colorsPaulb23
2016-07-10Fixed highlight all occurrences highlighing highlighted sectionPaulb23
2016-07-07Remove unused variables (third pass) + dead codeRémi Verschelde
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-03Fix completion string check when column = 0George Marques
2016-07-03Stop completion when the match is perfectGeorge Marques
to avoid the completion insisting showing up after a completion.
2016-07-03Fix code completion sortingGeorge Marques
2016-06-30Merge pull request #5419 from djrm/shortcutsRémi Verschelde
Shortcuts for script switching in script Mode
2016-06-30Merge pull request #5487 from Paulb23/function_highlighting_issue_5454Rémi Verschelde
Fixed function highlighting with spaces