summaryrefslogtreecommitdiff
path: root/doc/classes/TextEdit.xml
AgeCommit message (Collapse)Author
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
2021-08-12Cleanup and rename caret operationsPaulb23
2021-08-12Make TextEdit cut, copy and paste overridablePaulb23
2021-08-04Add theme item descriptions to the online documentationYuri Sizov
2021-08-01Clean up and complete CodeEdit inspector and docsPaulb23
2021-08-01Move symbol lookup into CodeEditPaulb23
2021-08-01Move line length guidelines into CodeEditPaulb23
2021-08-01Move brace matching into CodeEditPaulb23
2021-08-01Move auto brace completion to CodeEditPaulb23
2021-07-30doc: Use self-closing tags for `return` and `argument`Rémi Verschelde
For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
2021-07-25Fix various typos with codespellluz paz
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
2021-07-19Fixed typos in `TextEdit::GutterType` enumYuri Roubinsky
2021-07-17Create many types of popups on demandreduz
* LineEdit popups created on demand. * TextEdit popups created on demand. * SpinSlider popups created on demand. * ResourcePicker popups created on demand. Improves editor responsiveness.
2021-07-06Add multiple descriptions to several classesNick Huelin
This pull request adds several descriptions to multiple different classes. This improves the completeness of the documentation and enhances usability by doing so.
2021-06-20Move indent management to CodeEditPaulb23
2021-06-18Better format arguments in variant parserMichael Alexsander Silva Dias
2021-06-01Move code folding into CodeEdit and hide line hiding APIPaulb23
2021-06-01Update String/Comment, autocomplete and hints docsPaulb23
2021-05-22Add custom background line colour to TextEdit and remove marked linesPaulb23
2021-05-18Merge pull request #48528 from sent44/texteditRémi Verschelde
Expose get_total_visible_rows method to GDScript
2021-05-10Scroll faster when holding Alt in TextEdit (and script editor)Hugo Locurcio
This feature is inspired by a similar feature found in Visual Studio Code.