testHighlightKeywords2() This test case simulates what happens when some text is selected
and there is a keyword around too.
In drjava-20010720-1712 there is a bug that if you enter "int Y" and
then try to select "t Y", it exceptions.
Test that going to a line within the document's line count
sets the current position to the first character of the line.
exception: BadLocationException -
Puts an otherwise valid package statement after a valid import declaration. This should result in seeing no
package statement (for the purposes of getSourceRoot), so the resulting package name should be "".
Test that going to a line within the document's line count
sets the current position to the first character of the line.
exception: BadLocationException -
This test case simulates what happens when some text is selected
and there is a keyword around too.
In drjava-20010720-1712 there is a bug that if you enter "int Y" and
then try to select "t Y", it exceptions. This is a test for that case.
The important thing about the selecting thing is that because it wants
to render the last three chars selected, it asks for the first two only
in the call to getHighlightStatus.
exception: BadLocationException -
As of drjava-20020122-1534, files with tabs ended up garbled, with
some of the text jumbled all around (bug #506630).
This test aims to replicate the problem.