summaryrefslogtreecommitdiffstats
path: root/scene/gui/text_edit.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Add code region folding to CodeEditJean-Michel Bernard2023-09-111-0/+2
| |
* | Merge pull request #81312 from YuriSizov/theme-static-bindsRémi Verschelde2023-09-111-43/+45
|\ \ | | | | | | | | | Register theme properties with ThemeDB
| * | Register theme properties with ThemeDBYuri Sizov2023-09-111-43/+45
| | |
* | | Merge pull request #80956 from MarcusElg/deselectmulticaretRémi Verschelde2023-09-111-2/+18
|\ \ \ | |/ / |/| | | | | Deselect multi caret when alt clicking on it
| * | Deselect multi caret when alt clicking on itMarcus Elg2023-09-031-2/+18
| |/
* / Fix TextEdit placeholder with Inherited text direction.bruvzg2023-09-071-1/+5
|/
* Fixes a text find perf issue, if can't find anyjsjtxietian2023-08-201-0/+5
| | | | | | match words, just early break the while loop. This will improve a lot when p_search.length is way too long since p_from_column will only plus 1 every loop
* [TextServer] Fix system font fallback and caret/selection behavior for ↵bruvzg2023-08-151-4/+11
| | | | composite characters.
* [TextEdit] Expose all auto-wrap modes.bruvzg2023-06-131-32/+72
|
* Fix crash when selecting lines in text editRedworkDE2023-05-301-1/+3
|
* Merge pull request #76605 from Rindbee/fix_get_visible_line_countRémi Verschelde2023-05-161-1/+4
|\ | | | | | | Fix calculation bug with `TextEdit::get_line_height()`
| * Fix calculation bug with `TextEdit::get_line_height()`Rindbee2023-05-151-1/+4
| | | | | | | | | | | | When `get_line_height()` is less than `1`, there is no visible text. So limit the return value of `get_line_height()` to **not less** than `1` for calculation.
* | Fix right click in selection of additional caretJean-Michel Bernard2023-05-081-13/+18
|/
* Merge pull request #74623 from MewPurPur/edit-text-with-styleYuri Sizov2023-04-171-82/+63
|\ | | | | Code style improvements to text_edit and related
| * Code style improvements to text_edit and relatedVolTer2023-04-081-82/+63
| |
* | [TextServer] Use dedicated flag for object replacement characters.bruvzg2023-04-121-1/+1
| |
* | Add an option to show a TextEdit caret when editable is disabledjeffVenancius2023-04-071-1/+17
|/ | | | Update doc/classes/TextEdit.xml
* Implement theme item cache in TextEdit and CodeEditYuri Sizov2023-04-031-134/+144
|
* Merge pull request #75597 from bruvzg/tx_blockRémi Verschelde2023-04-031-1/+1
|\ | | | | | | [TextEdit] Fix block caret size at the end of the line.
| * [TextEdit] Fix block caret size at the end of the line.bruvzg2023-04-021-1/+1
| |
* | Merge pull request #73074 from M4rYu5/capslock-editor-completion-fixRémi Verschelde2023-04-031-2/+2
|\ \ | |/ |/| | | Editor: Ignore CapsLock when pressed alone
| * Now, in editor, CapsLock behave like a modifier key: does nothing when ↵M4rYu52023-02-131-2/+2
| | | | | | | | | | | | pressed alone. Before, it ended up closing the code completion, and rerendering portions of editor.
* | Fix get_drag_data not overridable in some Controlskobewi2023-03-201-0/+5
| |
* | [TextEdit] Do not draw virtual spaces (word break / justification points).bruvzg2023-03-061-1/+1
| |
* | Fix IME position in the single window mode sub-windows.bruvzg2023-03-061-2/+10
| |
* | [TextEdit / IME] Check selection before deleting to avoid unnecessary error ↵bruvzg2023-02-271-1/+1
| | | | | | | | messages.
* | Fix ctrl+backspace crash with multicarets on the same linePaulb232023-02-191-0/+1
| |
* | Fix error spam when hovering minimap in the script editorJames Mintram2023-02-161-1/+3
|/
* Fix `LineEdit` and `TextEdit` context menus not customizableDanil Alexeev2023-01-271-83/+113
|
* [Windows] Fix committing IME text without IME deactivation.bruvzg2023-01-261-0/+13
|
* PropertyUsage: Rename "DO_NOT_SHARE_ON_DUPLICATE" to "ALWAYS_DUPLICATE"Aaron Franke2023-01-241-1/+1
|