summaryrefslogtreecommitdiff
path: root/scene/gui/text_edit.cpp
AgeCommit message (Collapse)Author
2022-03-04Merge pull request #58739 from Calinou/control-add-constructorsRémi Verschelde
Add optional constructor arguments to more Control nodes
2022-03-04Add optional constructor arguments to more Control nodesHugo Locurcio
This can be used to make editor code more compact. However, as of writing, these constructor arguments cannot be used from the scripting API. This was already provided for Label and CheckBox, but it was missing for other Control nodes where it made sense to provide a default value.
2022-03-04Remove extra separator when TextEdit is read only and unselectableHaoyu Qiu
2022-03-03Fix LineEdit and TextEdit carets disappearing at theme scales below 1.0Hugo Locurcio
This fixes carets disappearing in the editor when the Editor Scale setting is set below 100%.
2022-02-28Fixed caret change signal emissionPaulb23
2022-02-15Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde
2022-02-12Add sub-pixel glyph positioning support.bruvzg
2022-02-10Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git. Added `misc/scripts/codespell.sh` to make it easier to run it once in a while and update the skip and ignore lists.
2022-02-04Cleanup and move char functions to the `char_utils.h` header.bruvzg
2022-02-02[TextServer] Add function to change font, font size, and OpenType features ↵bruvzg
without invalidating line break points, justification points, or recreating shaped text buffer.
2022-01-30Move placeholder color to theme itemPaulb23
2022-01-25Fix TextEdit placeholder not checking line countPaulb23
2022-01-24Merge pull request #55884 from ↵Rémi Verschelde
preslavnpetrov/ctrl-enter-deleting-selection-fix-master
2022-01-23Fix selection being deleted and indentation not being accounted forPreslavb
2022-01-23Add Placeholder to TextEditPaulb23
2022-01-19Convert TextEdit callbacks to CallablePaulb23
2022-01-18Improve locale detection.bruvzg
Use separate language, script and country lists. Add locale selection dialog and property hint.
2022-01-16Merge pull request #56720 from volokh0x/to-fix-#56274Rémi Verschelde
2022-01-16Save clear action of TextEdit in history when used from context menuvolokh0x
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-10Merge pull request #56637 from KoBeWi/maxxxxxxcrollRémi Verschelde
Set max value of inactive TextEdit scrolls to 0
2022-01-10Merge pull request #55225 from bruvzg/fix_ligature_cursor_and_ot_featuresRémi Verschelde
2022-01-10Fix glyph index for bitmap fonts.bruvzg
Fix TextEdit glyph position rounding.
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-09Set max value of inactive TextEdit scrolls to 0kobewi
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-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-02Fix various typosluz paz
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn` Update editor/import/resource_importer_layered_texture.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update doc/classes/TileSetScenesCollectionSource.xml Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/graph_edit.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/rich_text_label.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Revert previously committed change
2021-12-12Merge pull request #55729 from ↵Rémi Verschelde
cdemirer/fix-script-editor-unexpected-scroll-upon-resize
2021-12-11Fix unexpected scroll on resize + consistent return valuecdemirer
2021-12-10Merge pull request #55739 from Paulb23/text-edit-base-performanceRémi Verschelde
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-08Optimise TextEdit base operationsPaulb23
2021-12-06Fix bad popups offset in editor with single window offjmb462
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2021-12-03Fixed TextEdit underline draw posPaulb23
2021-12-02Add drag and drop to TextEditConteZero
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-22Merge pull request #55151 from Chaosus/control_reset_sizeRémi Verschelde
2021-11-22Added `reset_size` method to `Control` and `Window` classesYuri Roubinsky
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-11-16Rename built-in `SGN()` macro to `SIGN()`Hugo Locurcio
This matches the name of the GDScript function (except it's uppercase here).
2021-11-12Use "enum class" for input enumsAaron Franke
2021-11-10Merge pull request #54204 from Ev1lbl0w/bugfix-textedit_selection_mode_crashRémi Verschelde
2021-11-10Fix crash with indexing array with bad valuesEv1lbl0w
2021-10-27Merge pull request #54166 from ConteZero/unique_selectionRémi Verschelde
2021-10-27Add option to make selection uniqueConteZero
2021-10-23Merge pull request #54045 from ConteZero/primary_clipboard_linux_fix_warningRémi Verschelde
2021-10-23Fix primary clipboard warningConteZero
2021-10-21Use TitleCase for CTL dialog menu optionsHugo Locurcio
This is more consistent with other actions exposed in the dialog.