summaryrefslogtreecommitdiff
path: root/scene/gui/rich_text_label.cpp
AgeCommit message (Collapse)Author
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-12Use "enum class" for input enumsAaron Franke
2021-11-12Modules: Make sure to include modules_enabled.gen.h where neededRémi Verschelde
2021-11-11Fix RichTextLabel selection copy with table cells.bruvzg
2021-11-06Fix Label and RichTextLabale text shadows and shadow outlines.bruvzg
2021-10-27Merge pull request #54166 from ConteZero/unique_selectionRémi Verschelde
2021-10-27Add option to make selection uniqueConteZero
2021-10-23Merge pull request #54045 from ConteZero/primary_clipboard_linux_fix_warningRémi Verschelde
2021-10-23Fix primary clipboard warningConteZero
2021-10-23Make RichTextLabel's parse_bbcode and append_text return voidHaoyu Qiu
2021-10-20Merge pull request #53702 from ConteZero/primary_clipboard_linuxRémi Verschelde
2021-10-19Fix: typo in TextParagraph class and docsMurilo Gonçalves
2021-10-18Added primary clipboard for LinuxConteZero
2021-10-04Remove EDSCALE dependency from /scene/guiYuri Sizov
2021-10-01Implement TextServer GDExtension interface, remove TextServer GDNative ↵bruvzg
interface.
2021-09-25Construct values only when necessary.Anilforextra
2021-09-23Construct values only when necessary.Anilforextra
2021-09-21Add flag to connected grapheme. Apply RTL displacement FX only to the whole ↵bruvzg
connected grapheme. Pass more glyph info to the custom RTL FX.
2021-09-20Fix `Label` and `RichTextLabel` `visible_characters` and `percent_visible` ↵bruvzg
methods.
2021-09-16Remove bbcode_text from RichTextLabelHaSa1002
Also renames: - append_bbcode -> append_text - get_bbcode -> get_text - set_bbcode -> set_text - get_text -> get_parsed_text Property text is: set_text get_text
2021-09-14Merge pull request #52353 from williamd67/documentation-view-scroll-to-endRémi Verschelde
Documentation view scroll to end
2021-09-07Merge pull request #52082 from williamd67/fix-custom-effects-dropdown-menuMax Hilbrunner
RichTextLabel returns member (Array) for custom effects for Editor
2021-09-02Fix documentation viewer to scroll to endWilliam Deurwaarder
Extra `line separation` height was not taken into account when the offset for the different paragraphs (lines) was calculated.
2021-08-28Add support for internal nodeskobewi
2021-08-27Makes FontData importable resource.bruvzg
Adds multi-channel SDF font texture generation and rendering support. Adds per-font oversampling support. Adds FontData import plugins (for dynamic fonts, BMFonts and monospaced image fonts), font texture cache pre-generation and loading. Adds BMFont binary format and outline support.
2021-08-24RichTextLabel returns member (Array) for custom effects for EditorWilliam Deurwaarder
As RichTextLabel returned a copy of the member (Vector) the editor was notified that the value had changed which caused the dropdown menu to be immediately closed after opening. The fix is to return the member (Array) in stead of a copy which is the same instance and thereby does not notify the editor that the value has changed.
2021-08-24Make RichTextLabel honour default cursor shape propertyHaoyu Qiu
2021-08-23Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions. * Everything else converted to GDVIRTUAL * BIND_VMETHOD is gone, always use the new syntax from now on. Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
2021-08-21Fix line_separation working incorrectly in find_click of RichTextLabelMenderes
Apply suggestions from code review Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2021-08-20Fix line_separation constant working incorrectly in RichTextLabelrequizm
2021-08-09Use doubles for time in many other placesAaron Franke
2021-08-08[Text Server] Improve object (image/table) inline alignment.bruvzg
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-18Optimize StringName usagereduz
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
2021-06-25Fix RichTextLabel custom_effects export to be properly filtered in the EditorEric M
2021-06-20Rich Text Label now allows for foreground colors and background colorsgolfinq
2021-06-16Documentation search fixesGregory Basile
Updates rich_text_label so that the built-in documentation can be searched Previously, it would only find the first result and would not select other results Renames "_entered" functions to "_submitted"
2021-05-26Fixed implementation of RTL remove_line(), which fixed issues in EditorLog.Eric M
There were some issues in RichTextLabel `remove_line()` method, where items were not correctly removed, and line decremending for items in later lines was not correctly done. This also fixed several headaches with EditorLog, which relied on the `remove_line()` method for collapsing of duplicate messages. The fix to RTL also fixed the issues with EditorLog. Fixes #49030
2021-05-25Tweak dozens of editor property hints for consistencyHugo Locurcio
- Update Viewport MSAA property hints to match the currently exposed values. - Add some performance hints to property hints.
2021-05-13Attempt to fix rich text label effects processing even whenEoin O'Neill
the node is invisible. ISSUE:47687
2021-05-05Fixed issues with Editor Log after recent changesEric M
Fixed #48446, Fixed #48443
2021-05-04Merge pull request #47855 from aaronfranke/doubleclickRémi Verschelde
Rename `doubleclick` to `double_click`
2021-05-04Rename `doubleclick` to `double_click`Aaron Franke
2021-05-04Improve output log performance.Eric M
Added method to create a new line in RichTextLabel without adding an ItemNewline to the previous line. Previously, removing a line then adding a newline was adding unnecessary ItemNewline instances to the previous line, significantly the remove_line method.
2021-04-05Fix crashes in *_input functionsRafał Mikrut
2021-03-30RichTextLabel: On custom effect change, parse bbcode only if it's enabled ↵bruvzg
and not empty.
2021-03-29Use extra font spacing in the RichTextLabel line height calculation, and ↵bruvzg
stylebox size in the minimum size calculation.
2021-03-23Rename ButtonList enum and members to MouseButtonAaron Franke
2021-03-16Fix BBCode tables overlap with bottom textjmb462
New row height was added only if all the column was full.
2021-03-14Fix RTL BBCode range regression and selection issues.bruvzg