summaryrefslogtreecommitdiff
path: root/scene/gui/text_edit.cpp
AgeCommit message (Collapse)Author
2018-05-14TextEdit word wrapIan
2018-05-14Merge pull request #18853 from YeldhamDev/gui_cppcheck_fixesRémi Verschelde
Fixed some warnings found with Cppcheck
2018-05-14Fixed some warnings found with Cppcheck.Michael Alexsander Silva Dias
2018-05-11fixed a input not registered in osx script editortoger5
2018-05-09Consider TextEdit paste operation complex.Charly Mourglia
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
2018-05-08Perfect FreeType-based outlines for DynamicFontsRuslan Mustakov
- 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.
2018-05-07Merge pull request #18003 from sherjilozair/patch_macosx_shortcutsJuan Linietsky
Add additional macos shortcuts for going to start/end of line
2018-05-04Merge pull request #18397 from KidRigger/working_teMax Hilbrunner
Support of CMD+Backspace and CMD+Delete on MacOS.
2018-05-03Script Editor now displays positional columnUnknown
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.
2018-04-28Tweak the property hint ranges of caret blink and line length guidelineHugo Locurcio
This allows for more precise adjustments.
2018-04-24Support of CMD+Backspace and CMD+Delete on MacOS.Anish
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
2018-04-22Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio
2018-04-19Fixed context menu TTR bugssersoong
2018-04-11Use internal physics processing for Nodes' internal logicRémi Verschelde
2018-04-10Fixed color region calculation for the first linePaulb23
2018-04-07Fixed color regions and added local color region cachePaulb23
2018-04-05Add additional macos shortcuts for going to start/end of lineSherjil Ozair
2018-04-02Abstracted the syntax highlighter from text editPaulb23
2018-03-13Merge pull request #17314 from robfram/complete-path-15813Rémi Verschelde
Fix bad autocomplete of partially written node paths when using syntactic sugar notation ($)
2018-03-09auto-completion edge jumpAlexander Holland
arrow up/down jumps to end/start on edges
2018-03-06Fix bad autocomplete of partially written node paths when using syntactic ↵robfram
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.
2018-02-21Fix typos with codespellluz.paz
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
2018-02-19Merge pull request #16652 from aragar/FixQuotationInStringRémi Verschelde
Fix quotation in string
2018-02-14Merge pull request #15618 from ianb96/fold_commentRémi Verschelde
TextEdit folding over unindented comments
2018-02-12Fix quotation in stringRado'sPC\aRaGaR
fix for #16404
2018-01-31Fix TextEdit current line highlight horizontal offsetbinbitten
2018-01-18Fix typos in code and docs with codespellRémi Verschelde
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18TextEdit fix get_mouse after many foldsIan
2018-01-14Fixed current line highligting with horizontal clipping, issue 15427Paulb23
2018-01-13Deselect on undo/redo in TextEditPaul Joannon
2018-01-12Add special coloring to members, to make shadowing more obvious.Juan Linietsky
2018-01-12TextEdit folding over unindented commentsIan
2018-01-12Bind many more properties to scriptsBojidar Marinov
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
2018-01-11Fixes empty line selection when scrollingpoke1024
2018-01-08Fix whole word search missing occurencesBernhard Liebl
2018-01-06fix center viewport out of size error, #15411Ian
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
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.
2018-01-04Merge pull request #15334 from poke1024/textedit-mouseposRémi Verschelde
Fix TextEdit::_get_mouse_pos rounding errors
2018-01-04Fix TextEdit::_get_mouse_pos rounding errorsBernhard Liebl
2018-01-04Merge pull request #15308 from ianb96/horizontal_scrollingRémi Verschelde
TextEdit horizontal scrolling with shift
2018-01-04Merge pull request #15191 from Jerome67000/z_renamingRémi Verschelde
renames "z" Node2D property to "z_index"
2018-01-03TextEdit horizontal scrolling with shiftIan
2018-01-03#15078 renamed "z" -> "z_index" property in Node2DJerome67000
2018-01-03Merge pull request #15127 from poke1024/smooth-scroll-playRémi Verschelde
Remove some lagginess from TextEdit's smooth scrolling
2018-01-03Merge pull request #15063 from poke1024/textedit-select-last-lineRémi Verschelde
Fix key down on last line in TextEdit
2018-01-02Merge pull request #14983 from Paulb23/keyboard_selection_issue_14675Rémi Verschelde
Fixed keyboard word selection when at the start/end of line, issue 14675
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-01-01Merge pull request #14972 from poke1024/fix-unindent-col-0Noshyaar
Fix unindent (shift-tab) on column 0
2018-01-01Merge pull request #14973 from poke1024/docs-word-selectionNoshyaar
Double-click word selection for RichTextLabel (i.e. docs)
2017-12-28Fix unindent (shift-tab) on column 0 and moreBernhard Liebl