Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Commit

Permalink
fix printf specifier highlight column offset bug
Browse files Browse the repository at this point in the history
  • Loading branch information
smoothdeveloper committed Feb 14, 2017
1 parent 7168790 commit 9b9b7da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FSharp.Editing/Coloring/PrintfSpecifiersUsageGetter.fs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ let getAll (input: ParseAndCheckResults) (onError: string -> unit): PrintfSpecif
let specRangesAndArities =
specRangesAndArities
|> Array.map (fun (x, ar) ->
(Range.mkRange x.FileName x.Start (Range.mkPos x.EndLine (x.EndColumn + 1))), ar)
(Range.mkRange x.FileName x.Start (Range.mkPos x.EndLine (x.EndColumn))), ar)

let printfFunctions = Printf.getAll input.ParseTree

Expand Down

0 comments on commit 9b9b7da

Please sign in to comment.