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
3b75f706
Commit
3b75f706
authored
Dec 21, 2021
by
Waqar Ahmed
Browse files
ColorBrackets: Fix disconnecting wrong view
parent
7174ebb0
Pipeline
#112830
passed with stage
in 4 minutes and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
addons/rainbow-parens/rainbowparens_plugin.cpp
View file @
3b75f706
...
...
@@ -102,8 +102,8 @@ void RainbowParenPluginView::viewChanged(KTextEditor::View *view)
{
// disconnect and clear previous doc stuff
if
(
m_activeView
)
{
disconnect
(
v
iew
,
&
KTextEditor
::
View
::
verticalScrollPositionChanged
,
this
,
&
RainbowParenPluginView
::
rehighlight
);
disconnect
(
v
iew
,
&
KTextEditor
::
View
::
textInserted
,
this
,
&
RainbowParenPluginView
::
rehighlight
);
disconnect
(
m_activeV
iew
,
&
KTextEditor
::
View
::
verticalScrollPositionChanged
,
this
,
&
RainbowParenPluginView
::
rehighlight
);
disconnect
(
m_activeV
iew
,
&
KTextEditor
::
View
::
textInserted
,
this
,
&
RainbowParenPluginView
::
rehighlight
);
auto
doc
=
m_activeView
->
document
();
disconnect
(
doc
,
SIGNAL
(
aboutToDeleteMovingInterfaceContent
(
KTextEditor
::
Document
*
)),
this
,
SLOT
(
clearRanges
(
KTextEditor
::
Document
*
)));
...
...
Waqar Ahmed
@waqar
mentioned in commit
1652fc86
·
Dec 24, 2021
mentioned in commit
1652fc86
mentioned in commit 1652fc8643071cb0a08c3f85fb250c7525b8e54b
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