summaryrefslogtreecommitdiff
path: root/doc/classes/TextEdit.xml
AgeCommit message (Collapse)Author
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2022-12-19Document MDSF font outlines may require `msdf_pixel_range` adjustmentsHugo Locurcio
2022-10-31Merge pull request #67888 from KoBeWi/overrideadRémi Verschelde
Remove `override_selected_font_color` property
2022-10-31Merge pull request #67139 from PucklaMotzer09/insert_caret_at_caretsRémi Verschelde
Add Caret Insert Below and Above shortcuts to TextEdit
2022-10-26Remove override_selected_font_color propertykobewi
2022-10-21Add Selection and Caret for Next Occurrence of SelectionAlfred Reinold Baudisch
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.
2022-10-18Add Caret Insert Below and Above shortcuts to TextEditPucklaMotzer09
2022-10-07Getters for TextEdit scrollbarsmicroaeris
2022-10-05Update TextEdit docsPaulb23
2022-09-06Rename every instance of `caret_blink_speed` to `caret_blink_interval`Micky
It's been changed in EditorSettings, LineEdit, TextEdit. Affects setters and getters, and passed parameters, too.
2022-08-17[doc] Fix grammar in class docs: amount vs. numberAndy Maloney
Number is used for things that can be counted (discrete items - think "integer" in this context). Also fixes a couple of awkward phrases.
2022-08-11[doc] Use "param" instead of "code" to refer to parametersAndy Maloney
2022-08-08Rename the argument tag to param in XML documentationYuri Sizov
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-07-04Allow to disable TextEdit vertical scrollkobewi
2022-06-26Add an option to drag'n'drop selected text in TextEditConteZero
2022-04-22Implement Label3D node.bruvzg
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.
2022-02-15Add an XML schema for documentationHugo Locurcio
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.
2022-01-30Move placeholder color to theme itemPaulb23
2022-01-23Add Placeholder to TextEditPaulb23
2022-01-19Merge pull request #54729 from Paulb23/text-edit-callableRémi Verschelde
2022-01-19Convert TextEdit callbacks to CallablePaulb23
2022-01-19Improve the default project themeHugo Locurcio
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>
2022-01-13Merge pull request #54956 from ↵Rémi Verschelde
Calinou/lineedit-textedit-add-caret-width-theme-item Add a theme constant to change LineEdit and TextEdit's caret width
2022-01-09[TextServer] Improve ligature cursor handling.bruvzg
Fix mid-grapheme hit test. Fix OpenType features property handling, add default features override option. Enable mid-grapheme cursor by default.
2022-01-07Add a theme constant to change LineEdit and TextEdit's caret widthHugo Locurcio
This can be useful to improve caret visibility, especially at larger font sizes. This can also be used for accessibility purposes.
2022-01-02Fix usage of "Return" in the docskobewi
2021-12-15Document that transparent StyleBoxes/textures should be used for UI focusHugo Locurcio
2021-12-03Make overridden properties link to parent definitionYuri Sizov
Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
2021-12-03Merge pull request #55520 from pycbouh/docs-sort-group-newline-theme-and-enumsRémi Verschelde
2021-12-02Add drag and drop to TextEditConteZero
2021-12-01Sort and group theme properties in docs, improve formatting for theme and enumsYuri Sizov
2021-11-22Add methods to get position from column and line in TextEditYuri Sizov
2021-11-17Fix TextEdit mouse interactions when the last line is hiddenPaulb23
2021-10-27Add option to make selection uniqueConteZero
2021-10-20Merge pull request #53702 from ConteZero/primary_clipboard_linuxRémi Verschelde
2021-10-18Added primary clipboard for LinuxConteZero
2021-10-10Add warnings to methods that give access to internal nodesYuri Sizov
2021-10-09Fix missing argument names in bindingsRémi Verschelde
While at it, tweak some boolean setters to use `p_enabled` for the bool. Also renames `draw_minimap()` to `set_draw_minimap()`.
2021-10-05doc: Fix style inconsistencies for `[b]Note:[/b]` paragraphsRémi Verschelde
And fix up formatting not supported by makerst.
2021-09-21Added search colors to TextEdit and CodeEdit themePaulb23
2021-08-22Replace BIND_VMETHOD by new GDVIRTUAL syntaxreduz
* 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.
2021-08-17Improve Undo/Redo menu itemsHaoyu Qiu
* 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.
2021-08-12Fix breakpoint toggle signal not firing when expectedPaulb23
2021-08-12Cleanup and complete TextEdit inspector and docsPaulb23
2021-08-12Cleanup and expose viewport / scrolling methodsPaulb23
2021-08-12Rename readonly to editablePaulb23
2021-08-12Rename insert mode to overtype modePaulb23
2021-08-12Cleanup TextEdit selection methodsPaulb23
2021-08-12Expose and cleanup TextEdit line wrap APIPaulb23