This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
wlxsp
/
test1
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fixes
#135
- Full-width chars break gutter annotations (really)
main
Eric Amodio
7 years ago
parent
4c4926c8b5
commit
c258d04381
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/system/string.ts
+ 1
- 1
src/system/string.ts
View File
@ -115,7 +115,7 @@ export namespace Strings {
count
+=
getWidth
(
s
[
chars
++
]
)
;
count
+=
getWidth
(
s
[
chars
++
]
)
;
}
}
if
(
count
>
truncateTo
)
{
if
(
count
>
=
truncateTo
)
{
chars
--
;
chars
--
;
}
}
Write
Preview
Loading…
Cancel
Save