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
7cf50572
Commit
7cf50572
authored
Jan 03, 2021
by
Waqar Ahmed
Browse files
Case insensitive comparison in style-delegate
parent
5b5fbf9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
kate/katequickopen.cpp
View file @
7cf50572
...
...
@@ -100,7 +100,7 @@ public:
int
j
=
0
;
for
(
int
i
=
0
;
i
<
str
.
size
()
&&
j
<
m_filterString
.
size
();
++
i
)
{
if
(
str
.
at
(
i
)
==
m_filterString
.
at
(
j
))
{
if
(
str
.
at
(
i
)
.
toLower
()
==
m_filterString
.
at
(
j
)
.
toLower
()
)
{
str
.
replace
(
i
,
1
,
QStringLiteral
(
"<b>"
)
+
str
.
at
(
i
)
+
QStringLiteral
(
"</b>"
));
i
+=
7
;
++
j
;
...
...
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