Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(482)

Issue 4041045: code review 4041045: token/position: added function to set file information ... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 1 month ago by gri
Modified:
14 years, 1 month ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

token/position: added function to set file information for a text file godoc uses this to provide full text index position information for non-Go files.

Patch Set 1 #

Patch Set 2 : code review 4041045: token/position: added function to set file information ... #

Patch Set 3 : code review 4041045: token/position: added function to set file information ... #

Total comments: 2

Patch Set 4 : code review 4041045: token/position: added function to set file information ... #

Patch Set 5 : code review 4041045: token/position: added SetLinesForContent #

Patch Set 6 : code review 4041045: token/position: added SetLinesForContent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -15 lines) Patch
M src/pkg/go/token/position.go View 1 2 3 4 5 4 chunks +31 lines, -7 lines 0 comments Download
M src/pkg/go/token/position_test.go View 1 2 3 4 5 3 chunks +39 lines, -8 lines 0 comments Download

Messages

Total messages: 8
gri
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 1 month ago (2011-01-27 03:18:13 UTC) #1
rsc1
http://codereview.appspot.com/4041045/diff/5001/src/pkg/go/token/position.go File src/pkg/go/token/position.go (right): http://codereview.appspot.com/4041045/diff/5001/src/pkg/go/token/position.go#newcode227 src/pkg/go/token/position.go:227: // The line offsets are the offsets of the ...
14 years, 1 month ago (2011-01-27 03:30:21 UTC) #2
gri
On Wed, Jan 26, 2011 at 7:30 PM, <rsc@google.com> wrote: > > > http://codereview.appspot.com/4041045/diff/5001/src/pkg/go/token/position.go > ...
14 years, 1 month ago (2011-01-27 03:34:43 UTC) #3
gri
On Wed, Jan 26, 2011 at 7:30 PM, <rsc@google.com> wrote: > > > http://codereview.appspot.com/4041045/diff/5001/src/pkg/go/token/position.go > ...
14 years, 1 month ago (2011-01-27 04:33:59 UTC) #4
gri
I meant to say: - in consistency with having an empty line table for an ...
14 years, 1 month ago (2011-01-27 04:35:25 UTC) #5
rsc
> In retrospect I believe the current encoding is actually clearer than > recording the ...
14 years, 1 month ago (2011-01-27 04:45:49 UTC) #6
gri
On Wed, Jan 26, 2011 at 8:45 PM, Russ Cox <rsc@golang.org> wrote: > > In ...
14 years, 1 month ago (2011-01-27 05:38:31 UTC) #7
gri
14 years, 1 month ago (2011-01-27 05:49:18 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=3a42173b6b30 ***

token/position: added SetLinesForContent

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

R=rsc
CC=golang-dev
http://codereview.appspot.com/4041045

Committer: Robert Griesemer <gri@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b