com.raelity.jvi
Class Options.SetCommand
java.lang.Object
javax.swing.AbstractAction
com.raelity.jvi.ColonCommands.ColonAction
com.raelity.jvi.Options.SetCommand
- All Implemented Interfaces:
- ColonCommandFlags, ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
- Options
public static class Options.SetCommand
- extends ColonCommands.ColonAction
Implement ":se[t]".
Options are either global or indirect, see the P_ XXX below An option
must be one or the other. Global options are static, an indirect option
is an instance variable in either G.curwin or G.curbuf. When a P_IND
variable is set, introspection is used to do the set.
In some cases, due to platform limitation, the same variable must be
set in all the instances, syncAllInstances(var) does that.
- See Also:
- Serialized Form
Fields inherited from interface com.raelity.jvi.ColonCommandFlags |
BANG, BUFNAME, COUNT, DFLALL, EDITCMD, EXTRA, FILE1, FILES, NAMEDF, NAMEDFS, NEEDARG, NODFL, NOPARSE, NOSPC, NOTADR, NOTRLCOM, RANGE, REGSTR, TRLBAR, USECTRLV, WORD1, XFILE, ZEROR |
Options.SetCommand
public Options.SetCommand()
actionPerformed
public void actionPerformed(ActionEvent e)
parseSetOptions
public void parseSetOptions(List<String> eventArgs)
parseSetOption
public static void parseSetOption(String arg)
throws IllegalAccessException,
com.raelity.jvi.Options.SetCommand.SetCommandException
- Throws:
IllegalAccessException
com.raelity.jvi.Options.SetCommand.SetCommandException
syncAllInstances
public static void syncAllInstances(String varName)
- Note the value from the current is used to set any others