summaryrefslogtreecommitdiff
path: root/scene/gui/text_edit.cpp
AgeCommit message (Collapse)Author
2020-03-01Merge pull request #18020 from bruvzg/input_fix_non_latin_and_add_hw_scancodesRémi Verschelde
Fix non-latin layout scancodes on Linux, adds access to physical scancodes.
2020-02-28Signals: Port connect calls to use callable_mpRémi Verschelde
Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)
2020-02-27Merge pull request #36232 from Calinou/add-soft-line-length-guidelineRémi Verschelde
Add a soft line length guideline to the script editor
2020-02-25Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.Juan Linietsky
- Renames PackedIntArray to PackedInt32Array. - Renames PackedFloatArray to PackedFloat32Array. - Adds PackedInt64Array and PackedFloat64Array. - Renames Variant::REAL to Variant::FLOAT for consistency. Packed arrays are for storing large amount of data and creating stuff like meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of memory. That said, many users requested the ability to have 64 bits packed arrays for their games, so this is just an optional added type. For Variant, the float datatype is always 64 bits, and exposed as `float`. We still have `real_t` which is the datatype that can change from 32 to 64 bits depending on a compile flag (not entirely working right now, but that's the idea). It affects math related datatypes and code only. Neither Variant nor PackedArray make use of real_t, which is only intended for math precision, so the term is removed from there to keep only float.
2020-02-25Rename `scancode` to `keycode`.bruvzg
Add `physical_keycode` (keyboard layout independent keycodes) to InputEventKey and InputMap. Fix non-latin keyboard layout keycodes on Linux/X11 (fallback to physical keycodes).
2020-02-23Merge pull request #36089 from dreamsComeTrue/fix-autocomplete-quotesRémi Verschelde
Fix: auto brace complete for quoted strings
2020-02-23Replace FALLTHROUGH macro by C++17 [[fallthrough]]Rémi Verschelde
This attribute is now part of the standard we target so we no longer need compiler-specific hacks. Also enables -Wimplicit-fallthrough for Clang now that we can properly support it. It's already on by default for GCC's -Wextra. Fixes new warnings raised by Clang's -Wimplicit-fallthrough.
2020-02-21Fix: auto brace complete for quoted stringsDominik 'dreamsComeTrue' Jasiński
Fixes #36002
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-02-18PoolVector is gone, replaced by VectorJuan Linietsky
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
2020-02-15Add a soft line length guideline to the script editorHugo Locurcio
The default value is 80. The hard line length guideline's default column has been moved to 100 to account for the new soft line length guideline. It can be disabled by setting its value to the same column as the hard line length guideline. This closes https://github.com/godotengine/godot-proposals/issues/347.
2020-02-11Texture refactorJuan Linietsky
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
2020-02-10Merge pull request #34288 from bojidar-bg/33425-always-suggest-subsequenceRémi Verschelde
Always display subsequence autocompletion matches
2020-02-05Remove duplicate WARN_PRINT macro.Marcel Admiraal
2020-01-07expose scroll_vertical and scroll_horizontal in TextEdit + documentationKrystof Klestil
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-12-23Fixed selection indent taking an additional linePaulb23
2019-12-14Fix- using cut in first line of a script file does not remove the lineMikolaj Kaczmarek
2019-12-12Always display subsequence autocompletion matchesBojidar Marinov
Fixes #33425
2019-12-10Removed unused variables, add some constants numbersRafał Mikrut
2019-11-26Range: Fix cases where max was set to or below min valueRémi Verschelde
It will now raise an error whenever this happens so that we can fix these situations. `max == min` is not allowed as it could lead to divisions by zero in ratios, and `max < min` doesn't make much sense. Fixes #33907.
2019-11-24Fixed index out of size error in TextEdit when opening scriptsPouleyKetchoupp
2019-11-09Fixed not being able to scroll ending wrapped linePaulb23
2019-11-02Update connection info on script validation rather then saved copyPaulb23
2019-11-01Merge pull request #33233 from hilfazer/dollar-quoted-autocompleteRémi Verschelde
$ autocompletion keeps quotation
2019-11-01$ autocompletion keeps quotationhilfazer
2019-10-31Improved TextEdit search usability & documentationPouleyKetchoupp
2019-10-28Merge pull request #33119 from creikey/fix-quote-malfunctionRémi Verschelde
Remove duplicate quote in displayed quote type
2019-10-27Remove duplicate quote in displayed quote typeCameron Reikes
- fixes #32688 - fixes #32593
2019-10-27Merge pull request #33066 from Tabas32/fix_indentationRémi Verschelde
Fixed indenting issue with comment at end of line
2019-10-27Improve performance of connection info in the script editorPaulb23
2019-10-26Fix text minimap crash when last line is foldedPaulb23
2019-10-25Just initialization, needed by compilerMarian
2019-10-25Fixed indenting issue with comment at end of lineMarian
2019-10-24Don't terminate search if begin_key doesn't fitZatherz
Previously this code would continue onto the next iteration of the loop if the line was smaller in size than begin_key, meaning that a situation where begin_key.length() > end_key.length() would cause weird behavior with newlines. Now both the checks for begin_key and end_key are in their own condition and do not skip the entire iteration if they can't be found.
2019-10-24Fix rendering tooltipvolzhs
2019-10-22Merge pull request #32796 from Paulb23/set_text_caretRémi Verschelde
Changed `set_text` to place caret at start of the text.
2019-10-22Merge pull request #32940 from nekomatata/text-edit-clear-colorsRémi Verschelde
TextEdit syntax highlighting fixes
2019-10-22Merge pull request #32902 from nekomatata/auto-indent-bracket-fixRémi Verschelde
Auto-indent after opening bracket and parenthesis in the script editor
2019-10-20TextEdit syntax highlighting fixesPouleyKetchoupp
- Fixed visual update when using add_keyword_color(), add_color_region(), clear_colors() in scripts - More accurate description for clear_colors() in TextEdit documentation
2019-10-20Fixed -1 minimap index when smooth scrolling is enabledPaulb23
2019-10-18Auto-indent after opening bracket and parenthesis in the script editorPouleyKetchoupp
This change makes auto-indent work the same way as for curly brackets, so '[', '(', '{' all act the same. Fixes #32897
2019-10-14Small fixes to redundand code, copy paste bugsqarmin
2019-10-13Fix undo / redo scrollbar calulationsPaulb23
2019-10-13Place caret at 0,0 when setting text not at the endPaulb23
2019-10-07Fixed inserting text at caret not updating scrollbar sizePaulb23
2019-10-07Fixed drawing the caret at eol when at eol is not visiblePaulb23
2019-09-27TextEdit: Fix timer inside tree warninglupoDharkael
2019-09-25Merge pull request #32051 from qarmin/some_error_explanationRémi Verschelde
Added some obvious errors explanations
2019-09-25Added some obvious errors explanationsqarmin