Age | Commit message (Collapse) | Author |
|
Fixed text drawing too high in TextEdit, issue 15688
|
|
Editor autocomplete won't insert unnecessary quotes
|
|
Fix #18026. Expose TextEdit::set_draw_breakpoint_gutter.
|
|
get_word_at_pos considers simple and double quotes
|
|
|
|
|
|
|
|
TextEdit scaled selection
|
|
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.
|
|
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')
|
|
Removing some _changed signals in set_ functions.
Includes revert of commit 384625aa31a3627c25246e06c1fbc3019866765c
|
|
fixed capital A osx
|
|
|
|
Fix missing registration for new param of TextEdit::cursor_set_line.
|
|
This caused Mono glue gen to fail and other bugs to appear
(such as in Visual Script)
|
|
|
|
|
|
Fixed some warnings found with Cppcheck
|
|
|
|
|
|
sugested by reduz
|
|
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
|
|
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
|
|
- 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.
|
|
Add additional macos shortcuts for going to start/end of line
|
|
Support of CMD+Backspace and CMD+Delete on MacOS.
|
|
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.
|
|
This allows for more precise adjustments.
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fix bad autocomplete of partially written node paths when using syntactic sugar notation ($)
|
|
arrow up/down jumps to end/start on edges
|
|
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.
|
|
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
|
|
Fix quotation in string
|
|
TextEdit folding over unindented comments
|
|
fix for #16404
|
|
|
|
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
|
|
|
|
|
|
|
|
|
|
|