]> Cypherpunks repositories - gostls13.git/commit
token/position: added SetLinesForContent
authorRobert Griesemer <gri@golang.org>
Thu, 27 Jan 2011 05:49:10 +0000 (21:49 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 27 Jan 2011 05:49:10 +0000 (21:49 -0800)
commitc2ea38ac7ea1f73f82bf017bcdf6a52affb9d1d6
treee86c0d38cb072fe7adc85375cf996a8270d48291
parent32a7e464880103415c93219b6e4bb50539f93bd1
token/position: added SetLinesForContent

godoc uses this to provide full text index position information for
non-Go files.

R=rsc
CC=golang-dev
https://golang.org/cl/4041045
src/pkg/go/token/position.go
src/pkg/go/token/position_test.go