git://git.phpeclipse.com
/
phpeclipse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Using Cologne blue Velocity template / css style
[phpeclipse.git]
/
net.sourceforge.phpeclipse
/
src
/
net
/
sourceforge
/
phpdt
/
internal
/
ui
/
text
/
BufferedDocumentScanner.java
diff --git
a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/BufferedDocumentScanner.java
b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/BufferedDocumentScanner.java
index
cb1a56d
..
57812ba
100644
(file)
--- a/
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/BufferedDocumentScanner.java
+++ b/
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/BufferedDocumentScanner.java
@@
-71,7
+71,9
@@
public final class BufferedDocumentScanner implements ICharacterScanner {
try {
final String content= fDocument.get(fBufferOffset, fBufferLength);
- content.getChars(0, fBufferLength, fBuffer, 0);
+ if (content!=null) {
+ content.getChars(0, fBufferLength, fBuffer, 0);
+ }
} catch (BadLocationException e) {
}
}