Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fingerterm
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
mer-core
fingerterm
Commits
85ae802e
Commit
85ae802e
authored
Aug 17, 2018
by
elros34
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong cursor position
parent
3644a218
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
textrender.cpp
textrender.cpp
+1
-0
No files found.
textrender.cpp
View file @
85ae802e
...
...
@@ -76,6 +76,7 @@ TextRender::TextRender(QQuickItem *parent) :
iShowBufferScrollIndicator
=
false
;
iFont
=
QFont
(
sUtil
->
fontFamily
(),
sUtil
->
fontSize
());
iFont
.
setStyleHint
(
QFont
::
Monospace
,
QFont
::
StyleStrategy
(
QFont
::
PreferDefault
|
QFont
::
ForceIntegerMetrics
));
iFont
.
setBold
(
false
);
QFontMetrics
fontMetrics
(
iFont
);
iFontHeight
=
fontMetrics
.
height
();
...
...
Write
Preview
Markdown
is supported
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