summaryrefslogtreecommitdiffstats
path: root/scene/gui/text_edit.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Fix minimap error when moving to the topkit2024-05-301-8/+2
| | | |
* | | | [TextEdit] Use style margins for selection in read-only mode.bruvzg2024-05-291-2/+9
| |/ / |/| |
* | | Remove duplicate if/else code in TextEdit::_notificationaaronp642024-05-251-17/+6
|/ /
* | Fix TextEdit minimap tab drawing and click checkkit2024-05-081-50/+55
| |
* | Fix TextEdit crash with multiple carets disabledkit2024-05-021-3/+16
| |
* | Overhaul multiple caret editing in TextEdit.kit2024-04-261-662/+774
| | | | | | | | Use a multicaret edit to delay merging overlapping carets until the end.
* | Overhaul TextEdit selection.kit2024-04-261-448/+602
| | | | | | | | The caret is now a part of the selection.
* | Don't use vscroll when fit to content height in TextEditkit2024-04-251-1/+1
| |
* | Use TextEdit caret color for minimap highlightChristian Kaiser2024-04-251-5/+4
| |
* | Rename internal is_ascii_char to is_ascii_alphabet_charAaron Franke2024-04-201-1/+1
| |
* | Fix caret last fit when moving to line endkit2024-04-091-2/+0
| |
* | Make `TextEdit.clip_contents` more transparent to usersMarkus Sauermann2024-03-281-1/+1
| | | | | | | | | | Instead of ignoring `TextEdit.clip_contents`, use it with a default value `true`. in the same way as `RichTextLabel`.
* | Merge pull request #89625 from kitbdev/not-the-end-of-the-lineRémi Verschelde2024-03-261-2/+2
|\ \ | | | | | | | | | Fix TextEdit selection end of line drawing for wrapped lines and gaps
| * | Fix TextEdit selection end of line drawingkit2024-03-181-2/+2
| | |
* | | Add 'Skip to next (text) occurrence' feature to text editorChristophe Andral2024-03-251-1/+55
|/ / | | | | | | | | | | | | | | | | Adds `ui_text_skip_selection_for_next_occurrence` action and related implementation to text editor. This action is bound `Ctrl+Alt+D` shorcut. Used in conjonction with `ui_add_skip_selection_for_next_occurrence`, it gives the user the ability to select many occurrences of a selection and avoid some of them. Used without a previous selection, the action jumps to the next occurrence of the current word under the caret.
* | Fixes for undo in text editor grouping unrelated actionsSofox2024-03-051-39/+18
| |
* | Merge pull request #88546 from bruvzg/indent_wrapRémi Verschelde2024-03-051-8/+61
|\ \ | | | | | | | | | [TextEdit] Add support for optional wrapped line indentation.
| * | [TextEdit] Add support for optional wrapped line indentation.bruvzg2024-02-261-8/+61
| | |
* | | Add option to add built-in strings in the POT generationMichael Alexsander2024-02-281-31/+31
|/ /
* | Remove word duplicates in comments and strings, and fix casing and punctuationRobert Yevdokimov2024-02-231-3/+3
| |
* | Add methods to add submenus without using nameskobewi2024-02-221-6/+2
| |
* | Merge pull request #87479 from kitbdev/apply-imeRémi Verschelde2024-02-131-55/+81
|\ \ | | | | | | | | | Fix TextEdit IME issues
| * | Apply TextEdit IME on most actionskit2024-01-291-55/+81
| | |
* | | Replace error checks against `size` with `is_empty`A Thousand Ships2024-02-091-1/+1
| | |
* | | Fix freeze in TextEdit with scroll_past_end_of_file and fit_content_heightkit2024-02-021-1/+1
|/ /
* | Update deferred calls to use Callableskobewi2024-01-091-21/+10
| |
* | Merge pull request #72341 from aXu-AP/text_edit_carriage_return_selectionRémi Verschelde2024-01-041-14/+15
|\ \ | | | | | | | | | Show selected end of line in TextEdit
| * | Show selected end of line in TextEditaXu-AP2023-10-301-14/+15
| | | | | | | | | | | | Continues selection box at the end of line if eol/carriage return is selected.
* | | Fix so undoing complex operations in TextEdit will restore selections.Sofox2023-12-201-2/+10
| | |
* | | Remove unnecessary assignmentsWilson E. Alvarez2023-12-131-2/+1
| |/ |/| | | | | Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
* | Highlight error lines in minimapMika Viskari2023-12-071-1/+8
|/
* Translate TextEdit placeholderHaoyu Qiu2023-10-251-3/+5
|
* Merge pull request #83286 from bronsonholden/fix-text-edit-hscroll-jitterRémi Verschelde2023-10-171-1/+1
|\ | | | | | | Remove vertical scrollbar padding from line width calc
| * Remove vertical scrollbar padding from line width calcBronson Holden2023-10-131-1/+1
| | | | | | | | | | | | Visibility of the vertical scrollbar is already accounted for in `_update_wrap_at_column` which in turn affects max line width of the text area.
* | Merge pull request #73502 from Kurble/text-edit-scrolling-precisionRémi Verschelde2023-10-161-18/+13
|\ \ | |/ |/| | | Fix code editor scrolling experience on track pads
| * Put cheaper condition firstBram Buurlage2023-10-121-2/+2
| | | | | | Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
| * Use Math::round() instead of round() for rounding the scroll positionBram Buurlage2023-09-301-1/+1
| |
| * Editor: fix code editor scrolling experience on track padsBram Buurlage2023-09-301-18/+13
| |
* | Do not apply extra spacing twice.bruvzg2023-10-091-3/+0
| |
* | Add vararg call() method to C++ Callablekobewi2023-10-051-6/+1
| |
* | Merge pull request #82694 from BrianMacIntosh/masterRémi Verschelde2023-10-051-4/+10
|\ \ | | | | | | | | | "Whole Words" search can detect word boundaries inside the search term.
| * | "Whole Words" search can detect word boundaries inside the search term.Brian MacIntosh2023-10-021-4/+10
| |/ | | | | | | For example, searching for ".func" will now match in "a.func" even with Whole Words enabled.
* | Merge pull request #82776 from MewPurPur/more-text-edit-organizationRémi Verschelde2023-10-041-8/+10
|\ \ | |/ |/| | | Organize TextEdit's inspector
| * Organize TextEdit's inspectorMewPurPur2023-10-041-8/+10
| |
* | Merge pull request #81921 from YuriSizov/gui-less-friendlinessRémi Verschelde2023-09-201-0/+4
|\ \ | | | | | | | | | Connect `CodeHighlighter` with `TextEdit` without friend-access
| * | Connect `CodeHighlighter` with `TextEdit` without friend-accessYuri Sizov2023-09-191-0/+4
| |/
* / Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platformajreckof2023-09-191-4/+4
|/
* Merge pull request #81354 from MJacred/textedit_pixel_pos_fixRémi Verschelde2023-09-181-1/+7
|\ | | | | | | Fix `TextEdit.get_rect_at_line_column returning` negative pos even though cursor is in viewable area of the control
| * Fix TextEdit.get_rect_at_line_column returning negative pos even though ↵MJacred2023-09-111-1/+7
| | | | | | | | cursor is in viewable area of the control
* | Bind remaining theme properties to their respective classesYuri Sizov2023-09-131-13/+6
| | | | | | | | | | | | | | | | | | | | | | | | This adds binds for GraphEdit/GraphElement/GraphNode, which were skipped before due to a rework. This also adds binds for Window, which was skipped before due to a complicated code organization. Also adds theme cache entries/direct cache access to a few places that previously missed it. Some theme properties are now exposed to other classes via friendships or public getters for convenience. This removes all string-based theme access from scene/ classes.