summaryrefslogtreecommitdiffstats
path: root/scene/gui/text_edit.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix: typo in TextParagraph class and docsMurilo Gonçalves2021-10-191-1/+1
| |
* | Fix null crash with TextEditRicardo Subtil2021-10-161-0/+2
|/
* Fix missing argument names in bindingsRémi Verschelde2021-10-091-32/+32
| | | | | | While at it, tweak some boolean setters to use `p_enabled` for the bool. Also renames `draw_minimap()` to `set_draw_minimap()`.
* Fix crash when tooltip_request_func object is freedHaoyu Qiu2021-10-061-1/+3
|
* Fix caret position and viewport centering after deleting line (Ctrl-X)jmb4622021-10-041-1/+14
|
* Remove EDSCALE dependency from /scene/guiYuri Sizov2021-10-041-10/+2
|
* Implement TextServer GDExtension interface, remove TextServer GDNative ↵bruvzg2021-10-011-86/+82
| | | | interface.
* Merge pull request #53112 from EricEzaM/better-breakpoint-gutterRémi Verschelde2021-09-301-0/+26
|\
| * Improved breakpoint gutter for CodeEdit.Eric M2021-09-301-0/+26
| | | | | | | | Added preview of breakpoint placement on hover. Added override of icon for the Editor to use an SVG so it is no longer blurry.
* | Fix TextOp setting to none when typingPaulb232021-09-291-2/+7
|/
* Fix LineEdit and TextEdit double-click and triple-click selectionjmb4622021-09-261-2/+2
|
* Construct values only when necessary.Anilforextra2021-09-231-7/+7
|
* Merge pull request #52185 from Paulb23/nested-complex-opsRémi Verschelde2021-09-141-1/+12
|\ | | | | Allow nested complex ops in TextEdit
| * Allow nested complex ops in TextEditPaulb232021-08-281-1/+12
| |
* | Merge pull request #52443 from Paulb23/code-edit-indext-fixesRémi Verschelde2021-09-131-1/+1
|\ \ | | | | | | Fix brace placement with space auto indent
| * | Fix brace placement with space auto indentPaulb232021-09-061-1/+1
| | |
* | | Merge pull request #52106 from Paulb23/text-edit-optimisationGilles Roudière2021-09-081-43/+115
|\ \ \ | | | | | | | | Optimise TextEdit get line height and width
| * | | Optimise TextEdit get height and widthPaulb232021-08-281-43/+115
| | |/ | |/|
* | | Add visual feedback when hovering or dragging the code minimap grabberHugo Locurcio2021-09-041-2/+45
| |/ |/| | | | | | | This makes it more obvious that the minimap grabber can be dragged to scroll.
* | Add support for internal nodeskobewi2021-08-281-8/+8
|/
* Makes FontData importable resource.bruvzg2021-08-271-1/+1
| | | | | | | Adds multi-channel SDF font texture generation and rendering support. Adds per-font oversampling support. Adds FontData import plugins (for dynamic fonts, BMFonts and monospaced image fonts), font texture cache pre-generation and loading. Adds BMFont binary format and outline support.
* Merge pull request #51947 from AnilBK/redundant-assignmentsMichael Alexsander2021-08-231-1/+0
|\ | | | | [cppcheck] Remove some redundant assignments.
| * Remove redundant assignments.Anilforextra2021-08-211-1/+0
| | | | | | | | Use used_in_transfer instead of used_in_compute twice.
* | Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz2021-08-231-2/+2
| | | | | | | | | | | | | | | | * `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions. * Everything else converted to GDVIRTUAL * BIND_VMETHOD is gone, always use the new syntax from now on. Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
* | Replace BIND_VMETHOD by new GDVIRTUAL syntaxreduz2021-08-221-31/+20
|/ | | | | | | | | | | * New syntax is type safe. * New syntax allows for type safe virtuals in native extensions. * New syntax permits extremely fast calling. Note: Everything was replaced where possible except for `_gui_input` `_input` and `_unhandled_input`. These will require API rework on a separate PR as they work different than the rest of the functions. Added a new method flag METHOD_FLAG_OBJECT_CORE, used internally. Allows to not dump the core virtuals like `_notification` to the json API, since each language will implement those as it is best fits.
* Improve Undo/Redo menu itemsHaoyu Qiu2021-08-171-0/+19
| | | | | | | | | | | * Make Undo/Redo menu items disabled when clicking it does nothing. * Context menu of `TextEdit` * Context menu of `LineEdit` * Editor's Scene menu * Script editor's Edit menu and context menu (for Script and Text) * Make editor undo/redo log messages translatable. * Mark `UndoRedo`'s `has_{un,re}do()` methods as `const`. * Expose `TextEdit`'s `has_{un,re}do()` to scripts since `{un,re}do()` are already available.
* We can delete all text on TextEditrequizm2021-08-171-5/+5
| | | While all text of TextEdit was selected, deletion with backspace did not occur. It can now be deleted.
* Fixed crash executing TextEdit.new().set_draw_control_chars(true)Vignesh1-art2021-08-161-1/+3
| | | | Fixes #51613.
* Merge pull request #51585 from Paulb23/theme-update-optimisationRémi Verschelde2021-08-131-1/+25
|\
| * Only update TextEdit text cache when dirtyPaulb232021-08-131-1/+25
| |
* | [TextEdit] Improve block/insert caret drawing.bruvzg2021-08-131-8/+25
|/
* Fix breakpoint toggle signal not firing when expectedPaulb232021-08-121-1/+4
|
* Cleanup and complete TextEdit inspector and docsPaulb232021-08-121-15/+26
|
* Cleanup and bind remaing methods in TextEditPaulb232021-08-121-2018/+2067
|
* Cleanup and expose viewport / scrolling methodsPaulb232021-08-121-560/+625
|
* Rename readonly to editablePaulb232021-08-121-64/+62
|
* Rename insert mode to overtype modePaulb232021-08-121-15/+16
|
* Protect internal CodeEdit --> TextEdit APIPaulb232021-08-121-65/+70
|
* Cleanup TextEdit selection methodsPaulb232021-08-121-390/+405
|
* Expose and cleanup TextEdit line wrap APIPaulb232021-08-121-145/+161
|
* Cleanup and rename caret operationsPaulb232021-08-121-592/+584
|
* Make TextEdit cut, copy and paste overridablePaulb232021-08-121-150/+195
|
* Remove dead code from TextEditPaulb232021-08-121-21/+0
|
* Merge pull request #51502 from codecat/fix-caret-selectionRémi Verschelde2021-08-121-0/+12
|\ | | | | Move cursor to edge of selection when moving caret left/right
| * Move cursor to edge of selection when moving caret left/rightMelissa Geels2021-08-111-0/+12
| | | | | | | | | | | | This is to mimic the behavior of many third party text editors. The reason it's not doing it when moving by word is due to that behavior being mostly the same on other editors.
* | Triple click in text editor now uses last mouse position for validityMelissa Geels2021-08-111-1/+5
|/ | | | | | | | | | Previously, you would be able to double click a word, followed by single-clicking another word on the same line, which would select the entire line. Now, it will only select the whole line if the mouse position has remained the same after the double click. This mimicks the behavior in most third party text editors. Fixes #51312.
* Move symbol lookup into CodeEditPaulb232021-08-011-82/+12
|
* Move line length guidelines into CodeEditPaulb232021-08-011-39/+1
|
* Move brace matching into CodeEditPaulb232021-08-011-3/+3
|
* Move auto brace completion to CodeEditPaulb232021-08-011-207/+29
|