summaryrefslogtreecommitdiff
path: root/scene/gui/text_edit.cpp
AgeCommit message (Collapse)Author
2018-07-05Merge pull request #19735 from Paulb23/text_offset_issue_15688Max Hilbrunner
Fixed text drawing too high in TextEdit, issue 15688
2018-07-05Merge pull request #19187 from Zirak/editor-autocomplete-quoteMax Hilbrunner
Editor autocomplete won't insert unnecessary quotes
2018-07-05Merge pull request #18028 from gabrii/18026Max Hilbrunner
Fix #18026. Expose TextEdit::set_draw_breakpoint_gutter.
2018-07-03Merge pull request #17438 from Deluvi/get-word-pos-quote-fixMax Hilbrunner
get_word_at_pos considers simple and double quotes
2018-06-24Fixed text drawing too high in TextEdit, issue 15688Paulb23
2018-06-14Re-enable scrolling via selecting code beyond edges in text_edit.cpprobojumper
2018-06-11IME context detection.Saracen
2018-06-09Merge pull request #18298 from gabrii/TextEditScaledSelectionMax Hilbrunner
TextEdit scaled selection
2018-05-30Improve breakpoints and breakpoint gutter API in TextEditGabriel Gavilan
Added breakpoint_gutter, is_breakpoint_gutter_enabled, set_breakpoint_gutter_enabled, get_breakpoints, remove_breakpoints. Fixed breakpoint_toggled signal not fierd when text is edited. Fixes #18026.
2018-05-26Editor autocomplete won't insert unnecessary quotesZirak
When autocompleting a string (e.g. emit_signal or connect), e.g. emit_signal('visibility_c') ^ where "^" is the cursor, hitting <tab> would insert an unnecessary quote, breaking the string: emit_signal('visibility_changed'') This commit adds a small lookahead, so the end result will be as the user probably expected: emit_signal('visibility_changed')
2018-05-19fix for TextEdit::set_text firing signals it shouldn't.Ibrahn Sahir
Removing some _changed signals in set_ functions. Includes revert of commit 384625aa31a3627c25246e06c1fbc3019866765c
2018-05-18Merge pull request #19017 from toger5/fix_no_a_input_script_editor_osxRémi Verschelde
fixed capital A osx
2018-05-18fixed capital A osxtoger5
2018-05-16Merge pull request #18910 from PJB3005/18-05-15-fix-textedit-paramRémi Verschelde
Fix missing registration for new param of TextEdit::cursor_set_line.
2018-05-15Fix missing registration for new param of TextEdit::cursor_set_line.Pieter-Jan Briers
This caused Mono glue gen to fail and other bugs to appear (such as in Visual Script)
2018-05-15fix get_char_width for non-latin charactersianb96
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-09Apply viewport scale to selection update methods. Changed to propper fix ↵Gabriel Gavilan
sugested by reduz
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-09get_word_at_pos considers simple and double quotesDeluvi
When using the get_word_at_pos function in TextEdit, the function would return a full string only if this string is surrounded by double quotes and not by simple quotes. With this fix, get_word_at_pos will return the full string, whether be a string surrounded by simple or double quotes. Fixes #17437
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