mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 10:01:13 +09:00
LibCore+Userland: Add DEPRECATED infix to REGISTER_STRING_PROPERTY macro
This commit is contained in:
parent
f31a9e9374
commit
ee5838084d
Notes:
sideshowbarker
2024-07-17 16:42:19 +09:00
Author: https://github.com/krkk
Commit: ee5838084d
Pull-request: https://github.com/SerenityOS/serenity/pull/17800
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/awesomekling
12 changed files with 21 additions and 21 deletions
|
@ -47,8 +47,8 @@ static constexpr StringView folded_region_summary_text = " ..."sv;
|
|||
TextEditor::TextEditor(Type type)
|
||||
: m_type(type)
|
||||
{
|
||||
REGISTER_STRING_PROPERTY("text", text, set_text);
|
||||
REGISTER_STRING_PROPERTY("placeholder", placeholder, set_placeholder);
|
||||
REGISTER_DEPRECATED_STRING_PROPERTY("text", text, set_text);
|
||||
REGISTER_DEPRECATED_STRING_PROPERTY("placeholder", placeholder, set_placeholder);
|
||||
REGISTER_BOOL_PROPERTY("gutter", is_gutter_visible, set_gutter_visible);
|
||||
REGISTER_BOOL_PROPERTY("ruler", is_ruler_visible, set_ruler_visible);
|
||||
REGISTER_ENUM_PROPERTY("mode", mode, set_mode, Mode,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue