Bug 82167 [typing] Smart Typing Preferences: Plural of "parenthesis" is "parentheses"
Smart Typing Preferences says: Typing > Automatically close... - Strings - Brackets and parenthesis' - Braces [..] The correct plural of "parenthesis" is "parentheses". I would find it more convenient, if the characters of the bracket classes would also be part of the preference names, e.g.: - (Parentheses), [square] and <angular> brackets - {Braces} or - Parentheses(), square[] and angular<> brackets - Braces{}
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
private final String fCategory;
		/**
		 * Creates a new updater for the given <code>category</code>.
		 * 
		 * @param category the new category.
		 */
		public ExclusivePositionUpdater(String category) {
			fCategory= category;
		}
		/*
		 * @see org.eclipse.jface.text.IPositionUpdater#update(org.eclipse.jface.text.DocumentEvent)
		 */
		public void update(DocumentEvent event) {
			int eventOffset= event.getOffset();
			int eventOldLength= event.getLength();
			int eventNewLength= event.getText() == null ? 0 : event.getText().length();
			int deltaLength= eventNewLength - eventOldLength;
			try {
				Position[] positions= event.getDocument().getPositions(fCategory);
				for (int i= 0; i != positions.length; i++) {
					Position position= positions[i];
					if (position.isDeleted())
						continue;