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
Konsole
Commits
317373e8
Commit
317373e8
authored
Jul 24, 2021
by
Martin Tobias Holmedahl Sandsmark
Committed by
Kurt Hindenburg
Jul 30, 2021
Browse files
Fix off by one in getting highlight boundary
parent
67c7cc98
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/terminalDisplay/TerminalDisplay.cpp
View file @
317373e8
...
...
@@ -1875,7 +1875,7 @@ QPoint TerminalDisplay::findWordEnd(const QPoint &pnt)
{
QSharedPointer
<
HotSpot
>
hotspot
=
_filterChain
->
hotSpotAt
(
pnt
.
y
(),
pnt
.
x
());
if
(
hotspot
)
{
return
QPoint
(
hotspot
->
endColumn
(),
hotspot
->
endLine
());
return
QPoint
(
hotspot
->
endColumn
()
-
1
,
hotspot
->
endLine
());
}
const
int
regSize
=
qMax
(
_screenWindow
->
windowLines
(),
10
);
...
...
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