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
Marco Bubke
flatpak-qt-creator
Commits
18c84711
Commit
18c84711
authored
Dec 11, 2008
by
mae
Browse files
line is blockNumber + 1
parent
46535482
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/texteditor/basetexteditor.cpp
View file @
18c84711
...
...
@@ -2517,7 +2517,7 @@ void BaseTextEditor::extraAreaMouseEvent(QMouseEvent *e)
}
}
else
if
(
e
->
button
()
==
Qt
::
RightButton
)
{
QMenu
*
contextMenu
=
new
QMenu
(
this
);
emit
d
->
m_editable
->
markContextMenuRequested
(
editableInterface
(),
cursor
.
blockNumber
(),
contextMenu
);
emit
d
->
m_editable
->
markContextMenuRequested
(
editableInterface
(),
cursor
.
blockNumber
()
+
1
,
contextMenu
);
if
(
!
contextMenu
->
isEmpty
())
contextMenu
->
exec
(
e
->
globalPos
());
delete
contextMenu
;
...
...
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