Changeset 858
- Timestamp:
- 09/26/10 13:52:59 (3 years ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
data/codehelper/commands.xml (modified) (2 diffs)
-
src/sce/codehelper/StaticCommandsCodeHelper.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/codehelper/commands.xml
r855 r858 14 14 hint CDATA #IMPLIED 15 15 value CDATA #IMPLIED 16 values CDATA #IMPLIED 16 17 completion CDATA #IMPLIED> 17 18 … … 131 132 hint="mnemonic consisting of any sequence of letters, numbers, and punctuation symbols not containing a comma"/> 132 133 </command> 134 135 <command name="\bibliography" usage="\bibliography{@file@}" hint="set bibliography file"> 136 <argument name="file" value="" completion="true" hint="filename of the bibliography file"/> 137 </command> 138 139 <command name="\bibliographystyle" usage="\bibliographystyle{@style@}" hint="sets the bibliography style"> 140 <argument name="style" value="" values="alpha|abbrv|plain|unsrt" hint="bibliography style"/> 141 </command> 133 142 134 143 <command name="\bigskip" hint="equivalent to \vspace{\bigskipamount}"> -
trunk/src/sce/codehelper/StaticCommandsCodeHelper.java
r855 r858 150 150 CHCommandArgument argument = new CHCommandArgument(argumentName, argumentValue, optional, secondOptional, argumentCompletion); 151 151 argument.setHint(decode(argumentXML.getAttribute("hint"))); 152 153 String argumentValues = decode(argumentXML.getAttribute("values")); 154 if (argumentValues != null) { 155 for (String value : argumentValues.split("\\|")) { 156 argument.addValue(value); 157 } 158 } 152 159 153 160 // read the suggested values if there are some
![(please configure the [header_logo] section in trac.ini)](http://jlatexeditor.endrullis.de/chrome/site/logo.png)