addComponent(noTabs = new JCheckBox(jEdit.getProperty( "options.editor.noTabs")));
addComponent(syntax = new JCheckBox(jEdit.getProperty( "options.editor.syntax")));
	protected void _init()	{		addSeparator("options.editor.global");		/* Modes */		Mode[] modes = jEdit.getModes();		String defaultModeString = jEdit.getProperty("buffer.defaultMode");		String[] modeNames = new String[modes.length];		int index = 0;		for(int i = 0; i < modes.length; i++)		{			Mode _mode = modes[i];			modeNames[i] = _mode.getName();			if(defaultModeString.equals(_mode.getName()))				index = i;		}		defaultMode = new JComboBox(modeNames);		defaultMode.setSelectedIndex(index);		addComponent(jEdit.getProperty("options.editor.defaultMode"),			defaultMode);		/* Tab size */		String[] tabSizes = { "2", "4", "8" };		defaultTabSize = new JComboBox(tabSizes);		defaultTabSize.setEditable(true);		defaultTabSize.setSelectedItem(jEdit.getProperty("buffer.tabSize"));		addComponent(jEdit.getProperty("options.editor.tabSize"),defaultTabSize);		/* Undo queue size */		undoCount = new JTextField(jEdit.getProperty("buffer.undoCount"));		addComponent(jEdit.getProperty("options.editor.undoCount"),undoCount);		/* Syntax highlighting */		defaultSyntax = new JCheckBox(jEdit.getProperty("options.editor"			+ ".syntax"));		defaultSyntax.setSelected(jEdit.getBooleanProperty("buffer.syntax"));		addComponent(defaultSyntax);		/* Indent on tab */		defaultIndentOnTab = new JCheckBox(jEdit.getProperty("options.editor"			+ ".indentOnTab"));		defaultIndentOnTab.setSelected(jEdit.getBooleanProperty("buffer.indentOnTab"));		addComponent(defaultIndentOnTab);		/* Indent on enter */		defaultIndentOnEnter = new JCheckBox(jEdit.getProperty("options.editor"			+ ".indentOnEnter"));		defaultIndentOnEnter.setSelected(jEdit.getBooleanProperty("buffer.indentOnEnter"));		addComponent(defaultIndentOnEnter);		/* Soft tabs */		defaultNoTabs = new JCheckBox(jEdit.getProperty("options.editor"			+ ".noTabs"));		defaultNoTabs.setSelected(jEdit.getBooleanProperty("buffer.noTabs"));		addComponent(defaultNoTabs);		addSeparator("options.editor.mode-specific");		modeProps = new ModeProperties[modes.length];		for(int i = 0; i < modes.length; i++)		{			modeProps[i] = new ModeProperties(modes[i]);		}		mode = new JComboBox(modeNames);		mode.addActionListener(new ActionHandler());		addComponent(jEdit.getProperty("options.editor.mode"),mode);		useDefaults = new JCheckBox(jEdit.getProperty("options.editor.useDefaults"));		useDefaults.addActionListener(new ActionHandler());		addComponent(useDefaults);		addComponent(jEdit.getProperty("options.editor.filenameGlob"),			filenameGlob = new JTextField());		addComponent(jEdit.getProperty("options.editor.firstlineGlob"),			firstlineGlob = new JTextField());		addComponent(jEdit.getProperty("options.editor.tabSize"),			tabSize = new JComboBox(tabSizes));		tabSize.setEditable(true);		addComponent(jEdit.getProperty("options.editor.commentStart"),			commentStart = new JTextField());		addComponent(jEdit.getProperty("options.editor.commentEnd"),			commentEnd = new JTextField());		addComponent(jEdit.getProperty("options.editor.boxComment"),			boxComment = new JTextField());		addComponent(jEdit.getProperty("options.editor.blockComment"),			blockComment = new JTextField());		addComponent(jEdit.getProperty("options.editor.noWordSep"),			noWordSep = new JTextField());		addComponent(noTabs = new JCheckBox(jEdit.getProperty(			"options.editor.noTabs")));		addComponent(indentOnTab = new JCheckBox(jEdit.getProperty(			"options.editor.indentOnTab")));		addComponent(indentOnEnter = new JCheckBox(jEdit.getProperty(			"options.editor.indentOnEnter")));		addComponent(syntax = new JCheckBox(jEdit.getProperty(			"options.editor.syntax")));		selectMode();	}