summaryrefslogtreecommitdiff
path: root/scene/gui/text_edit.cpp
AgeCommit message (Collapse)Author
2022-08-04Add support for multiple virtual keyboard typesBrian Semrau
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-26Implement support for loading system fonts on Linux, macOS / iOS and Windows.bruvzg
2022-07-10Fix too thin underline in brace matchkobewi
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-06-11Add suffixes to all nodes and resourcesFireForge
2022-06-02Remove redundant min call when setting lineiwek
2022-05-23Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git.
2022-05-18Merge pull request #60955 from ↵Rémi Verschelde
pfertyk/issue-60668-fix-get-breakpointed-lines-crash Fix `get_breakpointed_lines` crashing Godot
2022-05-16Fix get_breakpointed_lines crashing GodotPaweł Fertyk
Fixes #60668.
2022-05-13Add ALT NUM+ {hex code} character input support for LineEdit, TextEdit and ↵bruvzg
CodeEdit.
2022-05-09Fix backspace when selection reaches left edgePaweł Fertyk
Fixes #60866.
2022-04-25Merge pull request #60438 from Paulb23/text-edit-testsRémi Verschelde
Add TextEdit unit tests and multiple fixes.
2022-04-22Multiple small TextEdit Bug FixesPaulb23
Fixed line_drawing_cache not containing anything Fixed is_move_caret_on_right_click_enabled requiring the context menu to be enabled Fixed when selecting_enabled is false not disabling shift + click Fixed when selecting_enabled is false not being able to drag the caret Fixed _delete emitting signals when nothing had changed. Fixed insert_line_at up causing a visual update Fixed get_pos_at_line_column returning a valid position when it was invalid Fixed set_caret_column unnecessary emitting "caret_changed" when the column is greater then the line Fixed select_word_under_caret not accepting the edges of words Fixed select_word_under_caret moving the caret to the start of the line when no word was found Fixed get_selection_line and get_selection_column not checking if the selection was enabled Fixed set_line_as_center_visible throwing errors if it would show line 0 Fixed set_line_as_center_visible being off by one Fixed set_line_as_last_visible not being able to show the first line Fixed pressing UP and the end of a wrapped line sending the caret to col 0 rather then then persevering the position.
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-04-08Fix shortcut_keys_enabled in TextEditConteZero
2022-04-05[Input] Add extra `shortcut_input` input processing step to process Unicode ↵bruvzg
character input with Alt / Ctrl modifiers, after processing of shortcuts.
2022-04-05Consider chained operation when selecting text in TextEdit::undo()Haoyu Qiu
2022-04-04Merge pull request #58452 from marcgpuig/text-edit-backspace-fixRémi Verschelde
2022-04-04Fixed ctrl + backspace on empty linesMarc Garcia Puig
Fix <word><space><caret> scenario Fix move left & right for lines without words
2022-04-03Fix TextEdit v_scroll_speed invalid values breaks wheel scrollingjmb462
2022-03-11Fix "p_from_line > p_to_line" errors in text editnova++
Done via making the function more robust to different inputs
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.