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 c8cf272 commit e463c04Copy full SHA for e463c04
PSReadLine/Position.cs
@@ -102,8 +102,9 @@ private static int GetFirstNonBlankOfLogicalLinePos(int current)
102
var beginningOfLine = GetBeginningOfLinePos(current);
103
104
var newCurrent = beginningOfLine;
105
+ var buffer = _singleton._buffer;
106
- while (newCurrent < _singleton._buffer.Length && _singleton._buffer.IsVisibleBlank(newCurrent))
107
+ while (newCurrent < buffer.Length && buffer.IsVisibleBlank(newCurrent))
108
{
109
newCurrent++;
110
}
0 commit comments