summaryrefslogtreecommitdiffstats
path: root/doc/classes/TextEdit.xml
Commit message (Collapse)AuthorAgeFilesLines
...
* Convert en_GB spelling to en_US with codespellRémi Verschelde2023-01-231-1/+1
|
* Document MDSF font outlines may require `msdf_pixel_range` adjustmentsHugo Locurcio2022-12-191-0/+1
|
* Merge pull request #67888 from KoBeWi/overrideadRémi Verschelde2022-10-311-5/+2
|\ | | | | | | Remove `override_selected_font_color` property
| * Remove override_selected_font_color propertykobewi2022-10-261-5/+2
| |
* | Merge pull request #67139 from PucklaMotzer09/insert_caret_at_caretsRémi Verschelde2022-10-311-0/+7
|\ \ | | | | | | | | | Add Caret Insert Below and Above shortcuts to TextEdit
| * | Add Caret Insert Below and Above shortcuts to TextEditPucklaMotzer092022-10-181-0/+7
| |/
* / Add Selection and Caret for Next Occurrence of SelectionAlfred Reinold Baudisch2022-10-211-0/+6
|/ | | | | | | | | | | | | | Adds the bind `add_selection_for_next_occurrence` to TextEdit, with CTRL+D as the default shortcut. When the bind is performed, ff a selection is currently active with the last caret in text fields, searches for the next occurrence of the selection, adds a caret and selects the next occurrence. If no selection is currently active with the last caret in text fields, selects the word currently under the caret. The action can be performed sequentially for all occurrences of the selection of the last caret and for all existing carets. The viewport is adjusted to the latest newly added caret. The bind and the behaviour is similar to VS Code's "Add Selection to Next Find Match" and JetBrains' "Add Selection for Next Occurrence". It takes advantage of the multi-caret API. The default shortcut for `select_word_under_caret` has been changed to ALT+G, in order to give priority to CTRL+D for `add_selection_for_next_occurrence` to better align with popular IDEs and editors.
* Getters for TextEdit scrollbarsmicroaeris2022-10-071-0/+12
|
* Update TextEdit docsPaulb232022-10-051-1/+127
|
* Rename every instance of `caret_blink_speed` to `caret_blink_interval`Micky2022-09-061-1/+1
| | | | | | It's been changed in EditorSettings, LineEdit, TextEdit. Affects setters and getters, and passed parameters, too.
* [doc] Fix grammar in class docs: amount vs. numberAndy Maloney2022-08-171-5/+5
| | | | | | Number is used for things that can be counted (discrete items - think "integer" in this context). Also fixes a couple of awkward phrases.
* [doc] Use "param" instead of "code" to refer to parametersAndy Maloney2022-08-111-32/+32
|
* Rename the argument tag to param in XML documentationYuri Sizov2022-08-081-125/+125
|
* Refactor Font configuration and import UI, and Font resources.bruvzg2022-07-061-21/+0
|
* Allow to disable TextEdit vertical scrollkobewi2022-07-041-1/+4
|
* Add an option to drag'n'drop selected text in TextEditConteZero2022-06-261-0/+3
|
* Implement Label3D node.bruvzg2022-04-221-1/+1
| | | | | | | | | Add "generate_mipmap" font import option. Add some missing features to the Sprite3D. Move BiDi override code from Control to TextServer. Add functions to access TextServer font cache textures. Add MSDF related flags and shader to the standard material. Change standard material cache to use HashMap instead of Vector.
* Add an XML schema for documentationHugo Locurcio2022-02-151-1/+1
| | | | | | | | This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
* Move placeholder color to theme itemPaulb232022-01-301-3/+3
|
* Add Placeholder to TextEditPaulb232022-01-231-0/+6
|
* Merge pull request #54729 from Paulb23/text-edit-callableRémi Verschelde2022-01-191-6/+3
|\
| * Convert TextEdit callbacks to CallablePaulb232022-01-191-6/+3
| |
* | Improve the default project themeHugo Locurcio2022-01-191-6/+6
|/ | | | | | | | | | | | | | | | | | | | | | | The new default project theme uses StyleBoxFlat extensively for a more modern design and better scalability to multiple resolutions. SVG icons are now used in place of PNG icons. While this does not allow for true vector-based icon drawing (icons are still rasterized at load-time), this makes the design work easier for contributors and opens the door to vector drawing in the future (e.g. with polygons or SDFs). Like for editor icons, the SVG header file is now built automatically when a SVG file is changed. This removing the need for running `make_header.py` manually (TODO). The "Use Hidpi" project setting has been removed in favor of a "Default Theme Scale" project setting, which allows creating the default theme at a higher/lower scale than the default. This can be used when designing GUIs with a high base resolution to ensure crisp visuals. Co-authored-by: Yuri Sizov <yuris@humnom.net>
* Merge pull request #54956 from ↵Rémi Verschelde2022-01-131-1/+4
|\ | | | | | | | | Calinou/lineedit-textedit-add-caret-width-theme-item Add a theme constant to change LineEdit and TextEdit's caret width
| * Add a theme constant to change LineEdit and TextEdit's caret widthHugo Locurcio2022-01-071-1/+4
| | | | | | | | | | This can be useful to improve caret visibility, especially at larger font sizes. This can also be used for accessibility purposes.
* | [TextServer] Improve ligature cursor handling.bruvzg2022-01-091-1/+1
|/ | | | | | Fix mid-grapheme hit test. Fix OpenType features property handling, add default features override option. Enable mid-grapheme cursor by default.
* Fix usage of "Return" in the docskobewi2022-01-021-1/+1
|
* Document that transparent StyleBoxes/textures should be used for UI focusHugo Locurcio2021-12-151-1/+1
|
* Make overridden properties link to parent definitionYuri Sizov2021-12-031-2/+2
| | | | Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
* Merge pull request #55520 from pycbouh/docs-sort-group-newline-theme-and-enumsRémi Verschelde2021-12-031-23/+23
|\
| * Sort and group theme properties in docs, improve formatting for theme and enumsYuri Sizov2021-12-011-23/+23
| |
* | Add drag and drop to TextEditConteZero2021-12-021-0/+7
|/
* Add methods to get position from column and line in TextEditYuri Sizov2021-11-221-0/+18
|
* Fix TextEdit mouse interactions when the last line is hiddenPaulb232021-11-171-1/+10
|
* Add option to make selection uniqueConteZero2021-10-271-0/+3
|
* Merge pull request #53702 from ConteZero/primary_clipboard_linuxRémi Verschelde2021-10-201-0/+11
|\
| * Added primary clipboard for LinuxConteZero2021-10-181-0/+11
| |
* | Add warnings to methods that give access to internal nodesYuri Sizov2021-10-101-0/+1
|/
* Fix missing argument names in bindingsRémi Verschelde2021-10-091-1/+1
| | | | | | While at it, tweak some boolean setters to use `p_enabled` for the bool. Also renames `draw_minimap()` to `set_draw_minimap()`.
* doc: Fix style inconsistencies for `[b]Note:[/b]` paragraphsRémi Verschelde2021-10-051-2/+2
| | | | And fix up formatting not supported by makerst.
* Added search colors to TextEdit and CodeEdit themePaulb232021-09-211-0/+6
|
* Replace BIND_VMETHOD by new GDVIRTUAL syntaxreduz2021-08-221-1/+1
| | | | | | | | | | | * 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/+12
| | | | | | | | | | | * 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.
* Fix breakpoint toggle signal not firing when expectedPaulb232021-08-121-0/+5
|
* Cleanup and complete TextEdit inspector and docsPaulb232021-08-121-197/+346
|
* Cleanup and expose viewport / scrolling methodsPaulb232021-08-121-6/+96
|
* Rename readonly to editablePaulb232021-08-121-3/+3
|
* Rename insert mode to overtype modePaulb232021-08-121-0/+16
|
* Cleanup TextEdit selection methodsPaulb232021-08-121-6/+14
|
* Expose and cleanup TextEdit line wrap APIPaulb232021-08-121-2/+46
|