From: Thomas E E. <en...@ac...> - 2005-09-26 16:16:05
|
I was emailing David yesterday about some plans for merging the position branch back to JRuby's main trunk. He pointed out that positions were off in cases like: --- class Foo ende --- and --- class Foo " end --- I added a simple fix to the position branch to correct this. When I run into EOF I do not update offset or column in LexerSource. With this change markers now display for these cases. Not to add the temptation of adding one more thing to 0.6.0...but it seems a fairly low-risk fix? If you want to add this to 0.6.0, then I will force the tag to the new revision for LexerSource.java in position branch of JRuby. -Tom PS - Should markers only update when saving a file? Or is there some time sensitive component to this (I believe JDT eventually updates without saving -- though perhaps I am only dreaming :) ). -- + http://www.tc.umn.edu/~enebo +---- mailto:en...@ac... ----+ | Thomas E Enebo, Protagonist | "Luck favors the prepared | | | mind." -Louis Pasteur | |