aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/text_edit.cpp
Commit message (Collapse)AuthorAgeFilesLines
* IME context detection.Saracen2018-06-111-0/+3
|
* Merge pull request #18298 from gabrii/TextEditScaledSelectionMax Hilbrunner2018-06-091-3/+3
|\ | | | | TextEdit scaled selection
| * Apply viewport scale to selection update methods. Changed to propper fix ↵Gabriel Gavilan2018-05-091-3/+3
| | | | | | | | sugested by reduz
* | fix for TextEdit::set_text firing signals it shouldn't.Ibrahn Sahir2018-05-191-2/+2
| | | | | | | | | | Removing some _changed signals in set_ functions. Includes revert of commit 384625aa31a3627c25246e06c1fbc3019866765c
* | Merge pull request #19017 from toger5/fix_no_a_input_script_editor_osxRémi Verschelde2018-05-181-2/+2
|\ \ | | | | | | fixed capital A osx
| * | fixed capital A osxtoger52018-05-181-2/+2
| | |
* | | Merge pull request #18910 from PJB3005/18-05-15-fix-textedit-paramRémi Verschelde2018-05-161-1/+1
|\ \ \ | | | | | | | | Fix missing registration for new param of TextEdit::cursor_set_line.
| * | | Fix missing registration for new param of TextEdit::cursor_set_line.Pieter-Jan Briers2018-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | This caused Mono glue gen to fail and other bugs to appear (such as in Visual Script)
* | | | fix get_char_width for non-latin charactersianb962018-05-151-2/+2
|/ / /
* | | TextEdit word wrapIan2018-05-141-560/+943
| | |
* | | Merge pull request #18853 from YeldhamDev/gui_cppcheck_fixesRémi Verschelde2018-05-141-3/+4
|\ \ \ | |/ / |/| | Fixed some warnings found with Cppcheck
| * | Fixed some warnings found with Cppcheck.Michael Alexsander Silva Dias2018-05-141-3/+4
| | |
* | | fixed a input not registered in osx script editortoger52018-05-111-1/+1
|/ /
* | Consider TextEdit paste operation complex.Charly Mourglia2018-05-091-0/+3
| | | | | | | | | | | | | | Not considering a paste operation as a complex one ends up adding an unneeded extra step when pasting over a selection. This fixes issue #18325
* | Perfect FreeType-based outlines for DynamicFontsRuslan Mustakov2018-05-081-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Implement outlines based on FreeType Stroker API. This allows artifact-free results, similar to what you will see in Web or any text editing tools. Outline is a part of DynamicFont rather than Label, because outlines have to be baked into the font's atlas. Font has a default outline_color and a Label can specify font_outline_modulator that will be multiplied with the Font's color to get the final result. - draw_char now has to be called twice to fully render a text - first with p_outline == true for each character and then with p_outline == false for each character. - Number of draw-calls is reduced from 5 to 2 per outlined character. - Overall cleanup of DynamicFont code, extracted duplicated code pieces into separate methods. - The change is backward-compatible - Labels still have outline properties that work exactly as they worked before. Closes #16279.
* | Merge pull request #18003 from sherjilozair/patch_macosx_shortcutsJuan Linietsky2018-05-071-1/+52
|\ \ | | | | | | Add additional macos shortcuts for going to start/end of line
| * | Add additional macos shortcuts for going to start/end of lineSherjil Ozair2018-04-051-1/+52
| | |
* | | Merge pull request #18397 from KidRigger/working_teMax Hilbrunner2018-05-041-1/+11
|\ \ \ | | | | | | | | Support of CMD+Backspace and CMD+Delete on MacOS.
| * | | Support of CMD+Backspace and CMD+Delete on MacOS.Anish2018-04-241-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support for CMD+Backspace, to delete all text before the cursor in the line and CMD+Delete to delete all text after the cursor in line following the typical MacOS text editing workflow Fixes: #18059
* | | | Script Editor now displays positional columnUnknown2018-05-031-0/+5
| | | | | | | | | | | | This solves #17931 and makes the script editor consistent with other text editors(Sublime, Gedit, Vim) in displaying the position rather than the raw number of characters.
* | | | Tweak the property hint ranges of caret blink and line length guidelineHugo Locurcio2018-04-281-1/+1
|/ / / | | | | | | | | | This allows for more precise adjustments.
* | / Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio2018-04-221-1/+1
| |/ |/|
* | Fixed context menu TTR bugssersoong2018-04-191-6/+6
| |
* | Use internal physics processing for Nodes' internal logicRémi Verschelde2018-04-111-5/+5
| |
* | Fixed color region calculation for the first linePaulb232018-04-101-0/+3
| |
* | Fixed color regions and added local color region cachePaulb232018-04-071-34/+50
|/
* Abstracted the syntax highlighter from text editPaulb232018-04-021-204/+314
|
* Merge pull request #17314 from robfram/complete-path-15813Rémi Verschelde2018-03-131-1/+1
|\ | | | | Fix bad autocomplete of partially written node paths when using syntactic sugar notation ($)
| * Fix bad autocomplete of partially written node paths when using syntactic ↵robfram2018-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | sugar notation ($) If you had a tree like Node2D->Sprite->Camera2D and you write a code like $Node2D/Spr and chose the autocompletion sugested Node2D/Sprite, the resulting string was $Node2D/Node2D/Sprite instead $Node2D/Sprite. If you chose Node2D/Sprite/Camera2D, then you ended with $Node2D/Node2D/Sprite/Camera2D. Fix #15813.
* | auto-completion edge jumpAlexander Holland2018-03-091-4/+10
|/ | | arrow up/down jumps to end/start on edges
* Fix typos with codespellluz.paz2018-02-211-2/+2
| | | | | | | | | | | | | | Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
* Merge pull request #16652 from aragar/FixQuotationInStringRémi Verschelde2018-02-191-1/+0
|\ | | | | Fix quotation in string
| * Fix quotation in stringRado'sPC\aRaGaR2018-02-121-1/+0
| | | | | | | | fix for #16404
* | Merge pull request #15618 from ianb96/fold_commentRémi Verschelde2018-02-141-6/+36
|\ \ | |/ |/| TextEdit folding over unindented comments
| * TextEdit folding over unindented commentsIan2018-01-121-6/+36
| |
* | Fix TextEdit current line highlight horizontal offsetbinbitten2018-01-311-7/+7
| |
* | Fix typos in code and docs with codespellRémi Verschelde2018-01-181-4/+4
| | | | | | | | Using v1.11.0 from https://github.com/lucasdemarchi/codespell
* | TextEdit fix get_mouse after many foldsIan2018-01-181-5/+6
| |
* | Fixed current line highligting with horizontal clipping, issue 15427Paulb232018-01-141-0/+13
| |
* | Deselect on undo/redo in TextEditPaul Joannon2018-01-131-0/+4
| |
* | Add special coloring to members, to make shadowing more obvious.Juan Linietsky2018-01-121-0/+25
| |
* | Bind many more properties to scriptsBojidar Marinov2018-01-121-1/+15
|/ | | | | | | Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
* Fixes empty line selection when scrollingpoke10242018-01-111-1/+1
|
* Fix whole word search missing occurencesBernhard Liebl2018-01-081-16/+29
|
* fix center viewport out of size error, #15411Ian2018-01-061-3/+4
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Merge pull request #15334 from poke1024/textedit-mouseposRémi Verschelde2018-01-041-5/+5
|\ | | | | Fix TextEdit::_get_mouse_pos rounding errors
| * Fix TextEdit::_get_mouse_pos rounding errorsBernhard Liebl2018-01-041-5/+5
| |
* | Merge pull request #15308 from ianb96/horizontal_scrollingRémi Verschelde2018-01-041-2/+10
|\ \ | | | | | | TextEdit horizontal scrolling with shift
| * | TextEdit horizontal scrolling with shiftIan2018-01-031-2/+10
| | |