1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Rolled back to 1.1 for use with Eclipse 2.0.1 Aug 29.

The fix in 1.2 can only be used whne we move forward to support Eclipse builds newer than 20 September 2002.
This commit is contained in:
Judy N. Green 2002-10-15 16:25:08 +00:00
parent 1da99f2c05
commit 703ab2853a

View file

@ -45,7 +45,7 @@ public final class BufferedDocumentScanner implements ICharacterScanner {
}
/**
* Fills the buffer with the contents of the document starting at the given offset.
* Fills the buffer with the contens of the document starting at the given offset.
*
* @param offset the document offset at which the buffer starts
*/
@ -53,8 +53,8 @@ public final class BufferedDocumentScanner implements ICharacterScanner {
fBufferOffset= offset;
if (fBufferOffset + fBuffer.length > fRangeOffset + fRangeLength)
fBufferLength= fRangeLength - (fBufferOffset - fRangeOffset);
if (fBufferOffset + fBuffer.length > fRangeLength)
fBufferLength= fRangeLength - fBufferOffset;
else
fBufferLength= fBuffer.length;