Uses of Class
edu.rice.cs.util.text.EditDocumentException

Packages that use EditDocumentException
edu.rice.cs.drjava.model The model package is responsible for the majority of the logic and state in DrJava. 
edu.rice.cs.drjava.model.repl Contains the adapter code for the interpreter, as well as the code for managing the history of interactions, the handling of exceptions thrown by the interpreter, etc. 
edu.rice.cs.drjava.ui The ui package contains classes for the default user interface for DrJava. 
edu.rice.cs.util.text   
 

Uses of EditDocumentException in edu.rice.cs.drjava.model
 

Methods in edu.rice.cs.drjava.model that throw EditDocumentException
private  void GlobalModelTestCase._assertInteractionContainsHelper(String text, boolean shouldContain)
           
private  void GlobalModelTestCase._assertInteractionMatchesHelper(String regex, boolean shouldMatch)
           
protected  void GlobalModelTestCase.assertInteractionsContains(String text)
          Asserts that the given string exists in the Interactions Document.
protected  void GlobalModelTestCase.assertInteractionsDoesNotContain(String text)
          Asserts that the given string does not exist in the Interactions Document.
protected  void GlobalModelTestCase.assertInteractionsDoesNotMatch(String regex)
          Asserts that the text in the Interactions Document does NOT match the given regex.
protected  void GlobalModelTestCase.assertInteractionsMatches(String regex)
          Asserts that the text in the Interactions Document matches the given regex.
protected  String GlobalModelTestCase.getInteractionsText()
          Returns the current contents of the interactions document
protected  String GlobalModelTestCase.interpret(String input)
          Puts the given input into the interactions document and then interprets it, returning the result that was put into the interactions document.
protected  void GlobalModelTestCase.interpretIgnoreResult(String input)
          Appends the input string to the interactions pane and interprets it.
 void GlobalModelCompileTest.testCompileResetsInteractions()
          Tests that the interactions pane is reset after a successful compile.
 void GlobalModelIOTest.testConsoleInput()
          Tests that input can be written to and read from the console correctly.
 void GlobalModelOtherTest.testExitInteractions()
          Checks that System.exit is handled appropriately from interactions pane.
 void GlobalModelOtherTest.testInteractionsCanSeeChangedClass()
          Checks that updating a class and recompiling it is visible from the REPL.
 void GlobalModelOtherTest.testInteractionsCanSeeCompiledClasses()
          Creates a new class, compiles it and then checks that the REPL can see it.
 void GlobalModelOtherTest.testInteractionsDefineAnonymousInnerClass()
          Checks that an anonymous inner class can be defined in the repl!
 void GlobalModelOtherTest.testInteractionsLiveUpdateClassPath()
          Creates a new class, compiles it and then checks that the REPL can see it.
 void GlobalModelOtherTest.testInteractionsVariableWithLowercaseClassName()
          Compiles a new class in the default package with a mixed case name, and ensures that it can be instantiated on a variable with an identical name (but a lowercase first letter).
 void GlobalModelIOTest.testLoadHistoryWithAndWithoutSemicolons()
          Loads two history files, one whose statements end in semicolons, and one whose statements do not.
 void GlobalModelIOTest.testSaveClearAndLoadHistory()
          Interprets some statements, saves the history, clears the history, then loads the history.
 

Uses of EditDocumentException in edu.rice.cs.drjava.model.repl
 

Methods in edu.rice.cs.drjava.model.repl that throw EditDocumentException
protected  void InteractionsModelTest.assertReplThrewContinuationException(String code)
          Not a test method, Assumes that _model is an IncompleteInputInteractionsModel.
protected  void InteractionsModelTest.assertReplThrewSyntaxException(String code)
          Not a test method, Assumes that _model is an IncompleteInputInteractionsModel.
 void InteractionsDJDocumentTest.helpTestCannotAddNullStyleToList()
          Tests that a null style is not added to the list.
 void InteractionsDJDocumentTest.helpTestStylesListContentAndReset()
          Tests that the styles list is updated and reset properly
 void InteractionsDocumentTest.testCannotEditBeforePrompt()
          Tests that the document prevents editing before the prompt, and beeps if you try.
 void InteractionsDocumentTest.testClearCurrent()
          Tests that clear current interaction works.
 void InteractionsDocumentTest.testContentsAndReset()
          Tests that initial contents are the banner and prompt, and that reset works.
 void InteractionsDocumentTest.testInsertNewline()
          Tests that inserting a newline works.
 void InteractionsModelTest.testInterpretCurrentInteractionWithIncompleteInput_NOJOIN()
           
 void InteractionsDocumentTest.testRecallFromHistory()
          Tests that recalling commands from the history works.
 

Uses of EditDocumentException in edu.rice.cs.drjava.ui
 

Methods in edu.rice.cs.drjava.ui that throw EditDocumentException
 void InteractionsPaneTest.testCannotEditBeforePrompt()
          Tests that the InteractionsPane cannot be edited before the prompt.
 void InteractionsPaneTest.testCaretMovementCyclesWhenAtEnd()
          Tests that moving the caret right when it's already at the end will cycle it to the prompt.
 void InteractionsPaneTest.testCaretMovementCyclesWhenAtPrompt()
          Tests that moving the caret left when it's already at the prompt will cycle it to the end of the line.
 void InteractionsPaneTest.testCaretMovesUpToPromptAfterInsert()
          Tests that the caret catches up to the prompt if it is before it and output is displayed.
 void InteractionsPaneTest.testCaretStaysAtEndDuringInteraction()
           
 void InteractionsPaneTest.testCaretUpdatedOnInsert()
          Tests that the caret is put in the correct position after an insert.
 void InteractionsPaneTest.testClearCurrentInteraction()
          Tests that the caret is moved properly when the current interaction is cleared.
 void MainFrameTest.testCorrectInteractionsDocument()
          Make sure that the InteractionsPane is displaying the correct InteractionsDocument.
 

Uses of EditDocumentException in edu.rice.cs.util.text
 

Methods in edu.rice.cs.util.text that throw EditDocumentException
 void ConsoleDocument.append(String str, String style)
          Appends a string to this in the given named style, if the edit condition allows it.
 void ConsoleDocument.forceInsertText(int offs, String str, String style)
          Inserts a string into the document at the given offset and style, regardless of the edit condition.
 void ConsoleDocument.forceRemoveText(int offs, int len)
          Removes a portion of the document, regardless of the edit condition.
 String ConsoleDocument.getDocText(int offs, int len)
          Returns a portion of the document.
 void ConsoleDocument.insertText(int offs, String str, String style)
          Inserts a string into the document at the given offset and named style, if the edit condition allows it.
 void ConsoleDocument.removeText(int offs, int len)
          Removes a portion of the document, if the edit condition (including promptPos) allows it.
 void ConsoleDocumentTest.testBasicDocOps()
          Tests basic interactions with a Swing Document.
 void SwingDocumentTest.testBasicDocOps()
          Tests basic interactions with a Swing Document.
 void ConsoleDocumentTest.testEditCondition()
          Tests that a SwingDocument can receive an object that determines whether certain edits are legal.
 void SwingDocumentTest.testEditCondition()
          Tests that a SwingDocument can receive an object that determines whether certain edits are legal.