forked from Hg/htlle-da-vorlage
Added vba as code style
This commit is contained in:
parent
354eb3e106
commit
717f4b43e9
20
style/langdef-vba.tex
Normal file
20
style/langdef-vba.tex
Normal file
@ -0,0 +1,20 @@
|
||||
%VBA
|
||||
\lstdefinelanguage{VBA}{
|
||||
morekeywords={And, As, Byte, Call, Case, Compare, CDbl, Datebase, Date,
|
||||
Dim, Else, ElseIf, End, Error, Exit, Explicit, False, Function,
|
||||
GoTo, If, IIF, Integer, Not, Nothing, Null, Object, On, Option, Or,
|
||||
Private, Resume, String, Single, Select, Set, Static, Sub, Then, True, To,},
|
||||
sensitive=false,
|
||||
morecomment=[l]Rem,
|
||||
morecomment=[l]',
|
||||
morestring=[b]",
|
||||
emph={acFormBar, acEditMenu, acCurrent, acEntire, acMenuVer70, acSaveYes,
|
||||
acViewNormal, acForm, acDataErrAdded, acNewRec, acDataErrContinue, Cancel,
|
||||
CancelEvent, Close, CurrentDb, DefaultValue, DateValue, DAO, Description,
|
||||
DoCmd, DoMenuItem, Err, Error, Error$, $, Execute, FindRecord, Forms,
|
||||
FindFirst, IsNull, Me, MsgBox, GoToControl, GoToRecord, NewData, Nz,
|
||||
Maximize, Number, OpenForm, Parent, Recordset, Requery, Response, SetFocus,
|
||||
stDocName, stLinkCriteria, Value, vbExclamation, vbOK, vbOKCancel,
|
||||
vbInformation, vbYes, vbNo, vbYesNo, vbCancel, vbQuestion, vbYesNoCancel,
|
||||
Visible,},
|
||||
emphstyle=\itshape}
|
@ -288,6 +288,7 @@ $endif$
|
||||
\input{style/langdef-html.tex}
|
||||
\input{style/langdef-xml.tex}
|
||||
\input{style/langdef-kotlin.tex}
|
||||
\input{style/langdef-vba.tex}
|
||||
$endif$
|
||||
|
||||
%
|
||||
|
Loading…
Reference in New Issue
Block a user