Bug 40347 [misc] Renaming a project with an open editor fills log
I20030716+plugin-export 1) have a Java file open in the Java editor 2) rename the enclosing project -> exception in log but no stacktrace
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
Position p= manager.getFirstPosition();	
				if (p.offset == offset && p.length == length)
					return new ExitFlags(0, false);
				else
					return null;
			}
			case '\n':
			case '\r':
				return new ExitFlags(LinkedPositionUI.COMMIT, true);
			
			case ';':
				if (getInsertMode() == SMART_INSERT)
					return new ExitFlags(LinkedPositionUI.COMMIT, true);
				
				
			default:
				return null;
			}						
		}
		private boolean isMasked(int offset) {
			IDocument document= getSourceViewer().getDocument();
			try {
				return fEscapeCharacter == document.getChar(offset - 1);
			} catch (BadLocationException e) {
			}
			return false;
		}
	};
	
	private static class BracketLevel {