We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e777525 commit a449148Copy full SHA for a449148
src/vs/editor/browser/viewParts/viewCursors/viewCursor.ts
@@ -172,7 +172,13 @@ export class ViewCursor {
172
}
173
174
const range = firstVisibleRangeForCharacter.ranges[0];
175
- const width = range.width < 1 ? this._typicalHalfwidthCharacterWidth : range.width;
+ const width = (
176
+ nextGrapheme === '\t'
177
+ ? this._typicalHalfwidthCharacterWidth
178
+ : (range.width < 1
179
180
+ : range.width)
181
+ );
182
183
let textContentClassName = '';
184
if (this._cursorStyle === TextEditorCursorStyle.Block) {
0 commit comments