Bug 33290 Smart quoting should not occur when following an escape char
When typing " at the end of a string, Eclipse helpfully interprets this as a move to the right; so "In here|" typing a " at the cursor point (|) will result in "In here"| However, this is not desirable if trying to type an encoded quote in Java, which is preceeded with the \ escape character: "In here|" -> Type \ "In here\|" -> Type " "In here\"| The desired behaviour for a " following a \ would be to just insert the " and not move on a space "In here|" -> Type \ "In here\|" -> Type " "In here\"|"
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
String line= text.substring(offset, endOffset);
							
							int position= 0;
							if (i == 0) {
								IRegion firstLine= document.getLineInformationOfOffset(command.offset);
								position= command.offset - firstLine.getOffset();	
							}
							
							int length= line.length();
							for (int j= 0; j < length; j++) {
								char c= line.charAt(j);
								if (c == '\t') {
									position += insertTabString(buffer, position);
								} else {
									buffer.append(c);
									++ position;
								}
							}
							
						}
						
						command.text= buffer.toString();
						
				} catch (BadLocationException x) {
				}
			}
		}
	};
	
	private static class ExitPolicy implements LinkedPositionUI.ExitPolicy {