tabSize,noTabs),null);
(noTabs ? 0 : tabSize)),null);
	public void actionPerformed(ActionEvent evt)	{		View view = getView(evt);		Buffer buffer = view.getBuffer();		buffer.beginCompoundEdit();		try		{			JEditTextArea textArea = view.getTextArea();			if(!textArea.isEditable())			{				view.getToolkit().beep();				return;			}			int tabSize = buffer.getTabSize();			boolean noTabs = ("yes".equals(buffer.getProperty(				"noTabs")));			Element map = buffer.getDefaultRootElement();			int start = map.getElementIndex(textArea				.getSelectionStart());			int end = map.getElementIndex(textArea				.getSelectionEnd());			for(int i = start; i <= end; i++)			{				Element lineElement = map.getElement(i);				int lineStart = lineElement.getStartOffset();				String line = buffer.getText(lineStart,					lineElement.getEndOffset() - lineStart - 1);				int whiteSpace = MiscUtilities					.getLeadingWhiteSpace(line);				int whiteSpaceWidth = MiscUtilities					.getLeadingWhiteSpaceWidth(					line,tabSize) + tabSize;				buffer.remove(lineStart,whiteSpace);				buffer.insertString(lineStart,MiscUtilities					.createWhiteSpace(whiteSpaceWidth,					tabSize,noTabs),null);			}		}		catch(BadLocationException bl)		{			bl.printStackTrace();		}		buffer.endCompoundEdit();	}