Skip to content

Commit 7ce6435

Browse files
author
Tien Nguyen
committed
Use local copy variable.
1 parent 2ca9361 commit 7ce6435

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Nodejs/Product/Nodejs/Editor/EditorExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ internal static bool IsMultilineComment(this SnapshotPoint insertionPoint, out S
172172
var classifier = buffer.GetNodejsClassifier();
173173

174174
// Find if this is a comment and then find the starting position of the comment if so.
175-
var classificationSpans = buffer.GetNodejsClassifier().GetClassificationSpans(
175+
var classificationSpans = classifier.GetClassificationSpans(
176176
new SnapshotSpan(insertionPoint.Snapshot, new Span(insertionPoint.Position - 1, 1)));
177177

178178
foreach (var span in classificationSpans) {

0 commit comments

Comments
 (0)