Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
31f0e286
Commit
31f0e286
authored
Jul 12, 2021
by
Waqar Ahmed
Browse files
lsp gotosymboldialog: Set placeholder text for line edit
Signed-off-by:
Waqar Ahmed
<
waqar.17a@gmail.com
>
parent
63bd98a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/lspclient/gotosymboldialog.cpp
View file @
31f0e286
...
...
@@ -6,6 +6,7 @@
#include
"gotosymboldialog.h"
#include
"lspclientserver.h"
#include
<KLocalizedString>
#include
<KSyntaxHighlighting/Theme>
#include
<KTextEditor/ConfigInterface>
#include
<KTextEditor/Editor>
...
...
@@ -180,6 +181,8 @@ GotoSymbolHUDDialog::GotoSymbolHUDDialog(KTextEditor::MainWindow *mainWindow, QS
{
setPaletteToEditorColors
();
m_lineEdit
.
setPlaceholderText
(
i18n
(
"Type to filter through symbols in your project..."
));
m_treeView
.
setModel
(
model
);
auto
delegate
=
new
GotoSymbolHUDStyleDelegate
(
this
);
delegate
->
setColors
();
...
...
Waqar Ahmed
@waqar
mentioned in commit
1ad4463b
·
Jul 12, 2021
mentioned in commit
1ad4463b
mentioned in commit 1ad4463b280553182c5cae967171b9365ac8d2c0
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment