aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/text_edit.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTERBojidar Marinov2017-08-061-3/+3
| | | | Closes #7695
* ScriptEditor: ctrl+click can open scenes/resources.Andreas Haas2017-08-021-0/+17
| | | | Closes #9654
* made delete next and prev consistent to other editors,issue 6546Paulb232017-08-011-52/+52
|
* Add object type hint for docsPoommetee Ketson2017-07-231-2/+2
|
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-191-1/+1
| | | | -Added system for feature overrides, it's pretty cool :)
* IME window follow the input cursor.geequlim2017-07-111-0/+9
| | | | | Abstruct set_ime_position to OS class. Update ime position for LineEdit and TextEdit.
* renamed all Rect2.pos to Rect2.positionalexholly2017-06-041-11/+11
|
* InputEvent: Renamed "pos" property to "position"Andreas Haas2017-06-031-6/+6
| | | | Make the naming consistent with other classes.
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-909/+904
| | | | this might cause bugs I haven't found yet..
* Implemented scrolling factor for smooth trackpad scrollingtoger52017-05-071-6/+12
| | | | | Working platforms platform: OSX, Windows. Support for almost all ui elements, including project list.
* Merge pull request #8417 from neikeq/hello-thereRémi Verschelde2017-04-201-2/+2
|\ | | | | External editor improvements and fixes
| * External editor improvements and fixesIgnacio Etcheverry2017-04-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notable changes: - Now ScriptLanguages have the option to override the global external editor setting. If `ScriptLanguage::open_in_external_editor()` returns `ERR_UNAVAILABLE` (which it does by default), then the global external editor option will be used. - Added formatting to the external editor execution arguments. Now it's possible to write something like this: `{project} -g {file}:{line}:{col}`. - `VisualScript::get_member_line()` now can return the line of functions (well, it returns the id of the _Function_ node of the function). I guess there is nothing else we can get a "line" from. Fixes: - Fixes a bug where `ScriptEditor::script_goto_method()` would not work if the script is not already open in the built-in editor. - Fixes wrong DEFVAL for `cursor_set_column` and `cursor_set_line` in TextEdit. - `Script::get_member_line()` now returns -1 ("found nothing") by default.
* | Added support for space indentationPaulb232017-04-181-23/+117
| |
* | Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-101-2/+2
|/ | | | | | | | Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* Fix highlight typosupaiku2017-04-061-11/+11
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-1546/+1343
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Various fixes detected using PVS-Studio static analyzer.Thaer Razeq2017-02-281-1/+1
| | | | | | | - 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
* -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-211-1/+1
| | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-54/+54
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-131-6/+6
| | | | This saves typing and is a step towards fixing #56
* Selected text is now deselected on ctrl+home/endkbake2017-02-031-14/+25
| | | | This fixes Issue #7694 and also the error mentioned in the comments of that issue.
* Fixed line lenght guideline drawing with color optionPaulb232017-01-281-8/+9
|
* Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-1/+1
|
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-3/+3
| | | | | 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.
* New API for visibility in both CanvasItem and SpatialJuan Linietsky2017-01-131-7/+7
| | | | | | visible (property) - access set_visible(bool) is_visible() is_visible_in_tree() - true when visible and parents visible show() hide() - for convenience
* PopupMenu now emits both index_pressed and id_pressed instead of ↵Juan Linietsky2017-01-081-1/+1
| | | | item_pressed, closes #3188
* renamed _input_event for GUI events to _gui_input, so it's more ↵Juan Linietsky2017-01-081-6/+6
| | | | differentiated than generalized _input
* Fix code completion for new getnode syntaxJuan Linietsky2017-01-081-4/+5
|
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-3/+3
| | | | renamed to PoolVector
* -Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky2017-01-051-1/+2
| | | | | | | | 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
* -Conversion of most properties to a simpler syntax, easier to use by scriptJuan Linietsky2017-01-041-15/+17
| | | | | | -Modified help to display properties GDScript can still not make use of them, though.
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-54/+54
| | | | | | | | 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()
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | 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!
* Fix search to find "whole" words at end of lineJohnson Earls2016-12-181-1/+1
| | | | | 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 .
* Emit "*_changed" signal in set_*volzhs2016-11-141-1/+1
|
* Merge pull request #7052 from Paulb23/text_edit_color_uniformationRémi Verschelde2016-11-091-20/+6
|\ | | | | Made background and symbol color follow the color API
| * Made background and symbol color follow the color APIPaulb232016-11-061-20/+6
| |
* | Caret blink will no longer cause redraw without focus, issue 6167Paulb232016-11-061-1/+1
|/
* Allow turing off zero-padding for line numbersPedro J. Estébanez2016-10-131-1/+10
|
* Merge pull request #6778 from Hinsbart/completion_zRémi Verschelde2016-10-111-2/+12
|\ | | | | Fix Script Editor drawing over Dialogs.
| * Fix Script Editor drawing over Dialogs.Andreas Haas2016-10-101-2/+12
| | | | | | | | | | | | Resets the z-index when focus is lost and the completion is shown. Fixes #6769
* | Add line length guideline to code editorsPedro J. Estébanez2016-10-101-0/+20
|/
* Fix code completion drawing under other gui elements.Andreas Haas2016-10-051-1/+5
| | | | | | | Raises the z-index of the Script editor when the completion is shown. fixes #1257 fixes #6690
* Add inline ColorPicker to Script text editor.Andreas Haas2016-09-291-1/+5
| | | | | | | | | | | | | | | | 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
* Fix ability to cut/paste text in LineEdit/TextEdit in readonly mode.Andreas Haas2016-09-191-7/+15
| | | | Fixes #6466
* Do ctrl-click on any code identifier to go to definiton or help page.Juan Linietsky2016-09-121-4/+143
|
* -Added a ColorFrame control, kind of like Texture but for color.Juan Linietsky2016-09-111-1/+2
| | | | | -Added dropping nodes to text editor for them to become a path -Fixed issues with font not properly being set in code editor
* Confirm code completion with numpad key ENTERIgnacio Etcheverry2016-08-121-1/+1
|
* Exposed enable syntax highlighting to propertiesPaulb232016-07-281-0/+1
|