}
	public static void expandAbbrev(View view, boolean add)	{		JEditTextArea textArea = view.getTextArea();		Buffer buffer = view.getBuffer();		int line = textArea.getCaretLine();		int lineStart = textArea.getLineStartOffset(line);		int caret = textArea.getCaretPosition();		String lineText = textArea.getLineText(line);		if(lineText.length() == 0)			return;		int pos = caret - lineStart;		if(pos == 0)			return;		int wordStart = TextUtilities.findWordStart(lineText,pos - 1,			(String)buffer.getProperty("noWordSep"));		String abbrev = lineText.substring(wordStart,pos);		String expand = Abbrevs.expandAbbrev(buffer.getMode().getName(),abbrev);		if(expand == null)		{			if(add)				addAbbrev(view,abbrev);			return;		}		else		{			buffer.beginCompoundEdit();			try			{				buffer.remove(lineStart + wordStart,pos - wordStart);				buffer.insertString(lineStart + wordStart,expand,null);			}			catch(BadLocationException bl)			{				Log.log(Log.ERROR,Abbrevs.class,bl);			}			buffer.endCompoundEdit();		}	}