the new Function List 2.0 BETA is available. I worked so hard on it to make it more stable and confortable. Here the major changes:
Restructure of FunctionList with new development parts:
- UNICODE version for latest Notepad++
- Now tree in addition to lists supported
- Icon for each group and subgroup could be defined
- To ignore language specific keywords a list could be defined for each group
- Filter of items possible
- Better tooltip support of e.g. C/C++ function params
- ... and a lot more
Creating the FunctionListRules.xml file for my ASP development has been an exercise in misery; equally so, getting it to work. I am now at a point where I no longer see the dreaded "No Rules.." message...instead, I now see "Function List - 100%" -- but I don't see any Functions or Subroutines.
For grins, I exited v5.42, and started the ANSI version of v5.1.4. This version successfully shows Functions and Subroutines.
I then saved v5.42's FunctionListRules.xml file, and copied over v5.1.4's ANSI file of the same name. I then started v5.42: NO LUCK.
At this point, I'm ready to rip my hair out (and I'm already going bald!) -- can anyone supply links to directions (use words of 1/2 syllable!) and screenshots to document how I can get this very useful plugin working?
Thanks very much!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry to be bringing bad news, but I've hit a little bump with the latest version: with NPP 5.4 UNI on WInXP Pro SP3 I have Notepad++ hanging at launchtime when both FunctionList 2.0 beta and GmodLua.dll (the Lua syntax highlighter plugin) are in the plugin folder. FunctionList 1.2 doesn't have this problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I looked into the issue and line 704 of FunctionList.cpp should have "i++;" so that it doesn't get caught in an infinite loop when it finds an external lexer.
-Kyle
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i tested in 5.3.1UNI and it is not working well, it gives wrong functions... i use something like C++
when i use function_list_1.2 UNI, it works great.
thanks for your efforts!
another question, is in npp anything seemed to bundles in textmate ???
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, and first of all congrats for this new v2.0 FunctionList.
However, I just tried my luck with a C file. Everything works right and is invaluable at times (specially the IF category in order to perform code coverage analysis), but ENUM_SUB is puzzling.
I assumed this category is for enums. However, I'm getting this with N++ 5.4.1u:
Code:
#ifdef ERUNTIME
(int)r,
#else
(symtab_ptr)e_routine[r],
#endif
0, // first and only arg is 0
0,0,0,0,0,0,0,0 // other args ignored
The 0 following #endif is unexpectedly reported, but not those on the line that follows. The line being indented doesn't matter.
The first cmdline is unexpectedly reported, but the second isn't.
Code:
#ifdef ERUNTIME
int cb_routine,
int is unexpectedly reported.
And so on, including the first word on the second line in a /* ... */ style comment. Generally speaking, constructs spanning several lines or preprocessor directives seem to confuse FL, resulting in spurious list entries in that category. It does catch enums though.
Overall, an useful and efficient piece of softwar though.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello users,
the new Function List 2.0 BETA is available. I worked so hard on it to make it more stable and confortable. Here the major changes:
Restructure of FunctionList with new development parts:
- UNICODE version for latest Notepad++
- Now tree in addition to lists supported
- Icon for each group and subgroup could be defined
- To ignore language specific keywords a list could be defined for each group
- Filter of items possible
- Better tooltip support of e.g. C/C++ function params
- ... and a lot more
Restrictions:
- Scintilla RegEx
Here the link:
https://sourceforge.net/project/showfiles.php?group_id=189927&package_id=223668&release_id=684528
Also I updated:
Explorer: https://sourceforge.net/project/showfiles.php?group_id=189927&package_id=223667&release_id=684520
Hex-Editor: https://sourceforge.net/project/showfiles.php?group_id=189927&package_id=222593&release_id=684525
Spell-Checker: https://sourceforge.net/project/showfiles.php?group_id=189927&package_id=225043&release_id=684521
WindowManager: https://sourceforge.net/project/showfiles.php?group_id=189927&package_id=254115&release_id=684524
All plugins were tested under XP-32 bit and Vista-32 bit.
Have a lot of fun
Creating the FunctionListRules.xml file for my ASP development has been an exercise in misery; equally so, getting it to work. I am now at a point where I no longer see the dreaded "No Rules.." message...instead, I now see "Function List - 100%" -- but I don't see any Functions or Subroutines.
For grins, I exited v5.42, and started the ANSI version of v5.1.4. This version successfully shows Functions and Subroutines.
I then saved v5.42's FunctionListRules.xml file, and copied over v5.1.4's ANSI file of the same name. I then started v5.42: NO LUCK.
At this point, I'm ready to rip my hair out (and I'm already going bald!) -- can anyone supply links to directions (use words of 1/2 syllable!) and screenshots to document how I can get this very useful plugin working?
Thanks very much!
Thanks for the unicode version, I just wait for changing to unicode version of Notepad++.
"Restrictions: - Scintilla RegEx", that means what the alpha version cannot do, this beta also can't?
Sorry to be bringing bad news, but I've hit a little bump with the latest version: with NPP 5.4 UNI on WInXP Pro SP3 I have Notepad++ hanging at launchtime when both FunctionList 2.0 beta and GmodLua.dll (the Lua syntax highlighter plugin) are in the plugin folder. FunctionList 1.2 doesn't have this problem.
Jens,
I looked into the issue and line 704 of FunctionList.cpp should have "i++;" so that it doesn't get caught in an infinite loop when it finds an external lexer.
-Kyle
Can it be used whit 5.4 UNI ?
i tested in 5.3.1UNI and it is not working well, it gives wrong functions... i use something like C++
when i use function_list_1.2 UNI, it works great.
thanks for your efforts!
another question, is in npp anything seemed to bundles in textmate ???
OK
i saw that function list, works nice whit cpp files. the problem is that i need to create a new language parsing rules.
can you post a file whit a .txt or something else where to understand how i must do it ?
because when i do, it crash notepad++.
thanxs
Do you have a FunctionListRules.xml entry for AutoIT?
No,
but create one if you like and post it to me. I will add it to the XML rules.
Jens
Hi, and first of all congrats for this new v2.0 FunctionList.
However, I just tried my luck with a C file. Everything works right and is invaluable at times (specially the IF category in order to perform code coverage analysis), but ENUM_SUB is puzzling.
I assumed this category is for enums. However, I'm getting this with N++ 5.4.1u:
Code:
#ifdef ERUNTIME
(int)r,
#else
(symtab_ptr)e_routine[r],
#endif
0, // first and only arg is 0
0,0,0,0,0,0,0,0 // other args ignored
The 0 following #endif is unexpectedly reported, but not those on the line that follows. The line being indented doesn't matter.
Code:
{
return (LRESULT) (*general_ptr)((symtab_ptr)0x12345678,
arg1, arg2, arg3, arg4, arg5,
arg6, arg7, arg8, arg9);
}
arg1 is unexpectedly reported, but arg6 isn't.
Code:
extern symtab_ptr call_back_arg1, call_back_arg2, call_back_arg3,
call_back_arg4, call_back_arg5, call_back_arg6,
call_back_arg7, call_back_arg8, call_back_arg9,
call_back_result;
call_back_arg4 and call_back_arg7 are unexpectedly reported, but call_back_result isn't.
Code:
while (cmdline[i] == ' ' ||
cmdline[i] == '\t' ||
cmdline[i] == '\n') {
i++;
}
The first cmdline is unexpectedly reported, but the second isn't.
Code:
#ifdef ERUNTIME
int cb_routine,
int is unexpectedly reported.
And so on, including the first word on the second line in a /* ... */ style comment. Generally speaking, constructs spanning several lines or preprocessor directives seem to confuse FL, resulting in spurious list entries in that category. It does catch enums though.
Overall, an useful and efficient piece of softwar though.
CChris
Anybody have a WORKING set of rules for ASP for the FunctionListRules.xml file? Per Jens' suggestion, I tried using the C++ section as a template, but it isn't working. What I've got:
<Language name="ASP" imagelistpath="">
<CommList param1="'" param2="" />
<CommList param1="//" param2="" />
<Group name="INCLUDE" subgroup="" icon="4" child="0" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="" keywords="">
<Rules regexbeg="#include\s+" regexfunc='[\w./<>\&quot;]+' regexend="" bodybegin="" bodyend="$" sep="" />
</Group>
<Group name="VARIABLE" subgroup="" icon="15" child="15" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="" keywords="\&lt;return\&gt;|\&lt;delete\&gt;|\&lt;case\&gt;|\&lt;else\&gt;|\&lt;typedef\&gt;|\&lt;LOCAL\&gt;|\&lt;static\&gt;|\&lt;for\&gt;">
<Rules regexbeg="^\s*" regexfunc="[\w<>]+[\s\*]+\w+[^\(\)]*;" regexend="" bodybegin="" bodyend="$" sep="" />
<Rules regexbeg="^\s*" regexfunc="\w+[\s\*]+\(\*\w+\)\s*\(.*;" regexend="" bodybegin="" bodyend="$" sep="" />
<Rules regexbeg="^\s*" regexfunc="\w*\s*\w+[\s\*]+\w+[\s\[]*\w*[\s\]]*=[\s\w\(]*.*;" regexend="" bodybegin="" bodyend="$" sep="" />
</Group>
<Group name="FUNCTION" subgroup="VARIABLE" icon="0" child="0" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="" keywords="">
<Rules regexbeg="\&lt;function\s+" regexfunc="[\w_]+" regexend="\s*\(.*\)" bodybegin="" bodyend="\&lt;end\s+function\&gt;" sep="" />
<Rules regexbeg="\&lt;sub\s+" regexfunc="[\w_]+" regexend="\s*\(.*\)" bodybegin="" bodyend="\&lt;end\s+sub\&gt;" sep="" />
</Group>
<Group name="CLASS" subgroup="FUNCTION" icon="1" child="11" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="\{" keywords="">
<Rules regexbeg="^\s*class\s+" regexfunc="\w+" regexend="" bodybegin="\{" bodyend="\}" sep="" />
</Group>
</Language>
i dont know nothing about asp an its rules, if you know regular expresions you can customize what you need in this tool.
http://www.gskinner.com/RegExr/
i am triyng to make my own script gaming languaje.
this is the rules used by ultraedit, maybe it can be help for you.
/L3"HTML" HTML_LANG Nocase Noquote Block Comment On = <!-- Block Comment Off = --> File Extensions = HTM HTML SHTML HTT HTA HTX CFM JSP PHP PHTML ASP
/Delimiters = ~!@$%^&*()+=|\{}[]:;"'<> , .?
/Function String = "<form*>"
/Member String = "$S[ ^t]++=[ ^t&]++new[ ^t]+^([A-Za-z_]+[A-Za-z0-9_]++^)"
/Variable String = "$S[ ^t]++=[ ^t&]++new[ ^t]+^([A-Za-z_]+[A-Za-z0-9_]++^)"
/Indent Strings = "<"
/Unindent Strings = "</"
/Open Brace Strings = "{" "(" "[" "<"
/Close Brace Strings = "}" ")" "]" ">"
/C1"Tags" STYLE_TAG
<A </A> <ABBR> <ABBR </ABBR> <ABOVE> <ACRONYM> <ACRONYM </ACRONYM> <ADDRESS> <ADDRESS </ADDRESS>
<APPLET </APPLET> <AREA </AREA <ARRAY>
<B> <B </B> <BASE <BASEFONT <BDO> <BDO </BDO> <BGSOUND <BIG> <BIG </BIG> <BLINK> <BLINK </BLINK>
<BLOCKQUOTE> <BLOCKQUOTE </BLOCKQUOTE> <BODY> <BODY </BODY> <BOX> <BR/> <BR> <BR <BUTTON> </BUTTON>
<CAPTION> <CAPTION </CAPTION> <CENTER> <CENTER </CENTER> <CITE> <CITE </CITE> <CODE> <CODE </CODE>
<COL> <COL <COLGROUP> <COLGROUP </COLGROUP> <COMMENT> </COMMENT>
<DD> <DD </DD> <DEL> <DEL </DEL> <DFN> <DFN </DFN> <DIR> <DIR </DIR> <DIV> <DIV </DIV> <DL> <DL </DL>
<DT> <DT </DT>
<EM> <EM </EM> <EMBED
<FIELDSET> <FIELDSET </FIELDSET> <FIG> <FONT </FONT> <FORM> <FORM </FORM> <FRAME <FRAMESET </FRAMESET>
<H1> <H1 </H1> <H2> <H2 </H2> <H3> <H3 </H3> <H4> <H4 </H4> <H5> <H5 </H5> <H6> <H6 </H6> <HEAD> <HEAD
</HEAD> <HR/> <HR> <HR <HTML> <HTML </HTML>
<I> <I </I> <IFRAME> <IFRAME </IFRAME> <ILAYER> </ILAYER> <IMG <INPUT> <INPUT <INS> <INS </INS> <ISINDEX> <ISINDEX
<KBD> <KBD </KBD>
<LABEL> <LABEL </LABEL> <LAYER> <LAYER </LAYER> <LEGEND> <LEGEND </LEGEND> <LI> <LI </LI> <LINK <LISTING>
</LISTING>
<MAP </MAP> <MARQUEE </MARQUEE> <MENU> <MENU </MENU> <META <MULTICOL> </MULTICOL>
<NEXTID <NOBR> </NOBR> <NOFRAMES> </NOFRAMES> <NOLAYER> </NOLAYER> <NOSCRIPT> </NOSCRIPT> <NOTE> </NOTE>
<OBJECT> <OBJECT </OBJECT> <OL> <OL </OL> <OPTGROUP> <OPTGROUP </OPTGROUP> <OPTION> <OPTION </OPTION>
<P> <P </P> <PARAM <PRE> <PRE </PRE>
<Q> <Q </Q> <QUOTE>
<RANGE> <ROOT>
<S> <S </S> <SAMP> <SAMP </SAMP> <SCRIPT> <SCRIPT </SCRIPT> <SELECT> <SELECT </SELECT> <SMALL> <SMALL
</SMALL> <SOUND <SPACER> <SPAN> <SPAN </SPAN> <SQRT> <STRIKE> <STRIKE </STRIKE> <STRONG> <STRONG </STRONG>
<STYLE> <STYLE </STYLE> <SUB> <SUB </SUB> <SUP> <SUP </SUP>
<TABLE> <TABLE </TABLE> <TBODY> <TBODY </TBODY> <TD> <TD </TD> <TEXT> <TEXTAREA> <TEXTAREA </TEXTAREA>
<TFOOT> <TFOOT </TFOOT> <TH> <TH </TH> <THEAD> <THEAD </THEAD> <TITLE> </TITLE> <TR> <TR </TR> <TT>
<TT </TT>
<U> <U </U> <UL> <UL </UL>
<VAR> <VAR </VAR>
<WBR>
<XMP> </XMP>
// />
>
/C2"Attributes" STYLE_ATTRIBUTE
ABBR= ACCEPT-CHARSET= ACCEPT= ACCESSKEY= ACTION= ALIGN= ALINK= ALT= ARCHIVE= AXIS=
BACKGROUND= BEHAVIOR BEHAVIOR> BELOW BELOW> BGCOLOR= BORDER=
CELLPADDING= CELLSPACING= CHAR= CHAROFF= CHARSET= CHECKED CHECKED> CITE= CLASS= CLASSID= CLEAR= CODE=
CODEBASE= CODETYPE= COLOR= COLS= COLSPAN= COMPACT COMPACT> CONTENT= COORDS=
DATA= DATETIME= DECLARE DECLARE> DEFER DEFER> DIR= DISABLED DISABLED>
ENCTYPE=
FACE= FOR= FRAME= FRAMEBORDER= FRAMESPACING=
HEADERS= HEIGHT= HIDDEN= HREF= HREFLANG= HSPACE= HTTP-EQUIV=
ID= ISMAP=
LABEL= LANG= LANGUAGE= LINK= LONGDESC= LOOP=
MAILTO= MARGINHEIGHT= MARGINWIDTH= MAXLENGTH= MEDIA= METHOD= MULTIPLE MULTIPLE>
NAME= NOHREF NOHREF> NORESIZE NORESIZE> NOSHADE NOSHADE> NOWRAP NOWRAP>
OBJECT= ONBLUR= ONCHANGE= ONCLICK= ONDBLCLICK= ONFOCUS= ONKEYDOWN= ONKEYPRESS= ONKEYUP= ONLOAD=
ONMOUSEDOWN= ONMOUSEMOVE= ONMOUSEOUT= ONMOUSEOVER= ONMOUSEUP= ONRESET= ONSELECT= ONSUBMIT= ONUNLOAD=
PROFILE= PROMPT=
READONLY READONLY> REL= REV= ROWS= ROWSPAN= RULES=
SCHEME= SCOPE= SCROLLING= SELECTED SELECTED> SHAPE= SIZE= SPAN= SRC= STANDBY= START= STYLE= SUMMARY=
TABINDEX= TARGET= TEXT= TITLE= TOPMARGIN= TYPE=
URL= USEMAP=
VALIGN= VALUE= VALUETYPE= VERSION= VLINK= VSPACE=
WIDTH=
=
/C3"Special Characters"
á â ´ æ à &alefsym &alpha & &and &ang å &asymp ã ä
&bdquo &beta ¦ &bull
&cap ç ¸ ¢ &chi &circ &clubs &cong © &crarr &cup ¤
&dagger &darr ° &delta &diams ÷
é ê è &empty &emsp &ensp &epsilon &equiv &eta ð ë &euro &exist
&fnof &forall ½ ¼ ¾ &frasl
&gamma &ge >
&harr &hearts &hellip
í î ¡ ì &image &infin &int &iota ¿ &isin ï
&kappa
&lambda &lang « &larr &lceil &ldquo &le &lfloor &lowast &loz &lrm &lsaquo &lsquo <
¯ &mdash µ · &minus &mu
&nabla   &ndash &ne &ni ¬ ¬in &nsub ñ &nu ó ô
&oelig ò &oline &omega &omicron &oplus &or ª º ø õ &otimes ö
¶ &part &permil &perp &phi &pi &piv ± £ &prime &prod &prop &psi
"
&radic &rang » &rarr &rceil &rdquo &real ® &rfloor &rho &rlm &rsaquo &rsquo
&sbquo &scaron &sdot § ­ &sigma &sigmaf &sim &spades &sub &sube &sum &sup ¹ ² ³ &supe ß
&tau &there4 &theta &thetasym &thinsp þ &tilde × &trade
ú &uarr û ù ¨ &upsih &upsilon ü
&weierp
&xi
ý ¥ ÿ
&zeta &zwj &zwnj
;
here i post the "VBScript ASP" rules
/L10"VBScript ASP" Nocase ASP_LANG Line Comment = ' Line Comment Alt = REM Block Comment On = /* Block Comment Off = */ Block Comment On Alt = <!-- Block Comment Off Alt = --> String Chars = " File Extensions =
/Delimiters = ~!@^&*()_-+=|\{}[]:;"'<> , .?
/Function String = "%[ ,^t]++^{Public^}^{Private^} ^(^{Function^}^{Sub^}*^)(*[)]++*"
/Function String 1 = "%[ ,^t]++^(^{Function^}^{Sub^}*^)(*)"
/Function String 2 = "%[ ,^t]++^{Public^}^{Private^} ^(Property ^{Let^}^{Get^}*^)(*)*"
/Function String 3 = "%[ ,^t]++^(Property ^{Let^}^{Get^}*^)(*)*"
/Function String 4 = "%[ ,^t]++^{Function^}^{Sub^} ^(*)"
/Open Brace Strings = "{" "(" "[" "<"
/Close Brace Strings = "}" ")" "]" ">"
/Indent Strings = "Then" "Select Case" "Do While" "Do Until" "Do" "Else" "ElseIf" "<td>" "<tr>"
/Unindent Strings = "End If" "Loop" "End" "Next" "Loop While" "Else" "ElseIf" "</td>" "</tr>"
/Open Fold Strings = "Do While" "If" "ElseIf" "Function" "Sub" "With" "For" "Select Case" "Case Else" "Case" "Else"
/Close Fold Strings = "ElseIf" "End If" "End Function" "End Sub" "End With" "Loop" "Next" "Wend" "End Select" "Case Else" "Case" "Else"
/Ignore Fold Strings = "Exit Function" "Exit Sub" "Declare Function"
/C1"Tags" STYLE_TAG
%>
<%
/C2"VBFunctions" STYLE_FUNCTION
&
Abs Array Asc AscB AscW Atn Avg
CBool CByte CCur CDate CDbl Cdec Choose Chr ChrB ChrW CInt CLng Command Cos Count CreateObject CSng CStr
CurDir CVar CVDate CVErr
Date DateAdd DateDiff DatePart DateSerial DateValue Day DDB Dir DoEvents
Environ EOF Error Exp
FileAttr FileDateTime FileLen Fix Format FreeFile FV
GetAllStrings GetAttr GetAutoServerSettings GetObject GetSetting
Hex Hour
IIf IMEStatus Input InputB InputBox InstB InStr Int IPmt IsArray IsDate IsEmpty IsError IsMissing IsNull
IsNumeric IsObject
LBound LCase Left LeftB Len LenB LoadPicture Loc LOF Log LTrim
Max Mid MidB Min Minute MIRR Month MsgBox
Now NPer NPV
Oct
Partition Pmt PPmt PV
QBColor
Rate RGB Right RightB Rnd RTrim
Second Seek Sgn Shell Sin SLN Space Spc Sqr StDev StDevP Str StrComp StrConv String Sum Switch SYD
Tab Tan Time Timer TimeSerial TimeValue Trim TypeName
UBound UCase
Val Var VarP VarType
Weekday
Year
/C3"VBMethods" STYLE_METHOD
Accept Activate Add AddCustom AddFile AddFromFile AddFromTemplate AddItem AddNew AddToAddInToolbar
AddToolboxProgID Append AppendChunk Arrange Assert AsyncRead
BatchUpdate BeginTrans Bind Buffer
CacheControl Cancel CancelAsyncRead CancelBatch CancelUpdate CanPropertyChange CaptureImage CellText
CellValue Charset Circle Clear ClearFields ClearSel ClearSelCols Clone Close Cls ColContaining ColumnSize
CommitTrans CompactDatabase Compose Connect ContentType Copy CopyQueryDef CreateDatabase CreateDragImage
CreateEmbed CreateField CreateGroup CreateIndex CreateLink CreatePreparedStatement CreatePropery
CreateQuery CreateQueryDef CreateRelation CreateTableDef CreateUser CreateWorkspace Customize
Delete DeleteColumnLabels DeleteColumns DeleteRowLabels DeleteRows DoVerb Drag Draw
Edit EditCopy EditPaste EndDoc EnsureVisible EstablishConnection Execute Expires ExpiresAbsolute
ExtractIcon
Fetch FetchVerbs Files FillCache Find FindFirst FindItem FindLast FindNext FindPrevious Forward
GetBookmark GetChunk GetClipString GetData GetFirstVisible GetFormat GetHeader GetLineFromChar GetNumTicks
GetRows GetSelectedPart GetText GetVisibleCount GoBack GoForward
Hide HitTest HoldFields HTMLEncode
Idle InitializeLabels InsertColumnLabels InsertColumns InsertObjDlg InsertRowLabels InsertRows
IsClientConnected Item
KillDoc
Layout Line LinkExecute LinkPoke LinkRequest LinkSend Listen LoadFile LoadResData LoadResPicture
LoadResString LogEvent
MakeCompileFile MakeReplica MapPath MoreResults Move MoveData MoveFirst MoveLast MoveNext MovePrevious
NavigateTo NewPage NewPassword NextRecordset
OLEDrag OnAddinsUpdate OnConnection OnDisconnection OnStartupComplete Open OpenConnection OpenDatabase
OpenQueryDef OpenRecordset OpenResultset OpenURL Overlay
PaintPicture Paste PastSpecialDlg PeekData Play Point PopulatePartial PopupMenu Print PrintForm
PropertyChanged PSet
Quit
Raise RandomDataFill RandomFillColumns RandomFillRows rdoCreateEnvironment rdoRegisterDataSource
ReadFromFile ReadProperty Rebind ReFill Refresh RefreshLink RegisterDatabase Reload Remove
RemoveAddInFromToolbar RemoveItem Render RepairDatabase Reply ReplyAll Requery ResetCustom
ResetCustomLabel ResolveName RestoreToolbar Resync Rollback RollbackTrans RowBookmark RowContaining RowTop
Save SaveAs SaveFile SaveToFile SaveToolbar SaveToOle1File Scale ScaleX ScaleY ScriptTimeout Scroll Select
SelectAll SelectPart SelPrint Send SendData SessionID Set SetAutoServerSettings SetData SetFocus SetOption
SetSize SetText SetViewport Show ShowColor ShowFont ShowHelp ShowOpen ShowPrinter ShowSave ShowWhatsThis
SignOff SignOn Size Span SplitContaining StartLabelEdit StartLogging Status Stop Synchronize
TextHeight TextWidth Timeout ToDefaults TwipsToChartPart TypeByChartType
Update UpdateControls UpdateRecord UpdateRow Upto URLEncode
WhatsThisMode Write WriteProperty
ZOrder
/C4"VBEvents" STYLE_EVENT
AccessKeyPress AddHeader AfterAddFile AfterChangeFileName AfterCloseFile AfterColEdit AfterColUpdate
AfterDelete AfterInsert AfterLabelEdit AfterRemoveFile AfterUpdate AfterWriteFile AmbienChanged
AppendToLog ApplyChanges Associate AsyncReadComplete AxisActivated AxisLabelActivated AxisLabelSelected
AxisLabelUpdated AxisSelected AxisTitleActivated AxisTitleSelected AxisTitleUpdated AxisUpdated
BeforeClick BeforeColEdit BeforeColUpdate BeforeConnect BeforeDelete BeforeInsert BeforeLabelEdit
BeforeLoadFile BeforeUpdate BinaryWrite ButtonClick ButtonCompleted ButtonGotFocus ButtonLostFocus
Change ChartActivated ChartSelected ChartUpdated Click ColEdit Collapse ColResize ColumnClick Compare
ConfigChageCancelled ConfigChanged ConnectionRequest
DataArrival DataChanged DataUpdated DblClick Deactivate DeviceArrival DeviceOtherEvent DeviceQueryRemove
DeviceQueryRemoveFailed DeviceRemoveComplete DeviceRemovePending DevModeChange Disconnect DisplayChanged
Dissociate DoGetNewFileName Done DonePainting DownClick DragDrop DragOver DropDown
EditProperty EnterCell EnterFocus ExitFocus Expand
Flush FootnoteActivated FootnoteSelected FootnoteUpdated
GotFocus
HeadClick
InfoMessage IniProperties Initialize ItemActivated ItemAdded ItemCheck ItemClick ItemReloaded ItemRemoved
ItemRenamed ItemSeletected
KeyDown KeyPress KeyUp
LeaveCell LegendActivated LegendSelected LegendUpdated LinkClose LinkError LinkNotify LinkOpen Load
LostFocus
MouseDown MouseMove MouseUp
NodeClick
ObjectMove OLECompleteDrag OLEDragDrop OLEDragOver OLEGiveFeedback OLESetData OLEStartDrag OnAddNew OnComm
OnEnd OnStart
Paint PanelClick PanelDblClick PathChange PatternChange PlotActivated PlotSelected PlotUpdated
PointActivated PointLabelActivated PointLabelSelected PointLabelUpdated PointSelected PointUpdated
PowerQuerySuspend PowerResume PowerStatusChanged PowerSuspend
QueryChangeConfig QueryComplete QueryCompleted QueryTimeout QueryUnload
ReadProperties Redirect Reposition RequestChangeFileName RequestWriteFile Resize ResultsChanged
RowColChange RowCurrencyChange RowResize RowStatusChanged
SelChange SelectionChanged SendComplete SendProgress SeriesActivated SeriesSelected SeriesUpdated
SettingChanged SplitChange StateChanged StatusUpdate SysColorsChanged
Terminate TimeChanged TitleActivated TitleSelected
UnboundAddData UnboundDeleteRow UnboundGetRelativeBookmark UnboundReadData UnboundWriteData Unload UpClick
Updated
Validate ValidationError
WillAssociate WillChangeData WillDissociate WillExecute WillUpdateRows WriteProperties
/C5"VBStatements" STYLE_STATEMENT
AppActivate
Base Beep
Call Case ChDir ChDrive Const
DefBool DefByte DefCur DefDate DefDbl DefDec DefInt DefLng DefObj DefSng DefStr Deftype DefVar
DeleteSetting Dim Do
Else ElseIf End Enum Erase Event Exit Explicit
FileCopy For ForEach Function
Get GoSub GoTo
If Implements
Kill
Let LineInput Lock LSet
MkDir
Name Next
On OnError Option
Private Property Public Put
RaiseEvent Randomize ReDim Reset Resume Return RmDir RSet
SavePicture SaveSetting SendKeys SetAttr Static Step Sub
Then To Type
Unlock
Wend While Width With
/C6"Objects"
Application
ClientCertificate Cookies
Form
ObjectContext
QueryString
Request Response
Server ServerVariables Session
/C7"Constants"
CDROM
False Fixed ForAppending ForReading ForWriting
RAMDisk Remote Removable
True
Unknown
vbArray vbBinaryCompare vbBlack vbBlue vbBoolean vbByte vbCr vbCrLf vbCurrency vbCyan vbDataObject vbDate
vbDecimal vbDouble vbEmpty vbError vbFalse vbFirstFourDays vbFirstFullWeek vbFirstJan1 vbFormFeed vbFriday
vbGeneralDate vbGreen vbInteger vbLf vbLong vbLongDate vbLongTime vbMagenta vbMonday vbNewLine vbNull
vbNullChar vbNullString vbObject vbObjectError vbRed vbSaturday vbShortDate vbShortTime vbSingle vbString
vbSunday vbTab vbTextCompare vbThursday vbTrue vbTuesday vbUseSystem vbUseSystemDayOfWeek vbVariant
vbVerticalTab vbWednesday vbWhite vbYellow
here i post the "VBScript ASP" rules
/L10"VBScript ASP" Nocase ASP_LANG Line Comment = ' Line Comment Alt = REM Block Comment On = /* Block Comment Off = */ Block Comment On Alt = <!-- Block Comment Off Alt = --> String Chars = " File Extensions =
/Delimiters = ~!@^&*()_-+=|\{}[]:;"'<> , .?
/Function String = "%[ ,^t]++^{Public^}^{Private^} ^(^{Function^}^{Sub^}*^)(*[)]++*"
/Function String 1 = "%[ ,^t]++^(^{Function^}^{Sub^}*^)(*)"
/Function String 2 = "%[ ,^t]++^{Public^}^{Private^} ^(Property ^{Let^}^{Get^}*^)(*)*"
/Function String 3 = "%[ ,^t]++^(Property ^{Let^}^{Get^}*^)(*)*"
/Function String 4 = "%[ ,^t]++^{Function^}^{Sub^} ^(*)"
/Open Brace Strings = "{" "(" "[" "<"
/Close Brace Strings = "}" ")" "]" ">"
/Indent Strings = "Then" "Select Case" "Do While" "Do Until" "Do" "Else" "ElseIf" "<td>" "<tr>"
/Unindent Strings = "End If" "Loop" "End" "Next" "Loop While" "Else" "ElseIf" "</td>" "</tr>"
/Open Fold Strings = "Do While" "If" "ElseIf" "Function" "Sub" "With" "For" "Select Case" "Case Else" "Case" "Else"
/Close Fold Strings = "ElseIf" "End If" "End Function" "End Sub" "End With" "Loop" "Next" "Wend" "End Select" "Case Else" "Case" "Else"
/Ignore Fold Strings = "Exit Function" "Exit Sub" "Declare Function"
/C1"Tags" STYLE_TAG
%>
<%
/C2"VBFunctions" STYLE_FUNCTION
&
Abs Array Asc AscB AscW Atn Avg
CBool CByte CCur CDate CDbl Cdec Choose Chr ChrB ChrW CInt CLng Command Cos Count CreateObject CSng CStr
CurDir CVar CVDate CVErr
Date DateAdd DateDiff DatePart DateSerial DateValue Day DDB Dir DoEvents
Environ EOF Error Exp
FileAttr FileDateTime FileLen Fix Format FreeFile FV
GetAllStrings GetAttr GetAutoServerSettings GetObject GetSetting
Hex Hour
IIf IMEStatus Input InputB InputBox InstB InStr Int IPmt IsArray IsDate IsEmpty IsError IsMissing IsNull
IsNumeric IsObject
LBound LCase Left LeftB Len LenB LoadPicture Loc LOF Log LTrim
Max Mid MidB Min Minute MIRR Month MsgBox
Now NPer NPV
Oct
Partition Pmt PPmt PV
QBColor
Rate RGB Right RightB Rnd RTrim
Second Seek Sgn Shell Sin SLN Space Spc Sqr StDev StDevP Str StrComp StrConv String Sum Switch SYD
Tab Tan Time Timer TimeSerial TimeValue Trim TypeName
UBound UCase
Val Var VarP VarType
Weekday
Year
/C3"VBMethods" STYLE_METHOD
Accept Activate Add AddCustom AddFile AddFromFile AddFromTemplate AddItem AddNew AddToAddInToolbar
AddToolboxProgID Append AppendChunk Arrange Assert AsyncRead
BatchUpdate BeginTrans Bind Buffer
CacheControl Cancel CancelAsyncRead CancelBatch CancelUpdate CanPropertyChange CaptureImage CellText
CellValue Charset Circle Clear ClearFields ClearSel ClearSelCols Clone Close Cls ColContaining ColumnSize
CommitTrans CompactDatabase Compose Connect ContentType Copy CopyQueryDef CreateDatabase CreateDragImage
CreateEmbed CreateField CreateGroup CreateIndex CreateLink CreatePreparedStatement CreatePropery
CreateQuery CreateQueryDef CreateRelation CreateTableDef CreateUser CreateWorkspace Customize
Delete DeleteColumnLabels DeleteColumns DeleteRowLabels DeleteRows DoVerb Drag Draw
Edit EditCopy EditPaste EndDoc EnsureVisible EstablishConnection Execute Expires ExpiresAbsolute
ExtractIcon
Fetch FetchVerbs Files FillCache Find FindFirst FindItem FindLast FindNext FindPrevious Forward
GetBookmark GetChunk GetClipString GetData GetFirstVisible GetFormat GetHeader GetLineFromChar GetNumTicks
GetRows GetSelectedPart GetText GetVisibleCount GoBack GoForward
Hide HitTest HoldFields HTMLEncode
Idle InitializeLabels InsertColumnLabels InsertColumns InsertObjDlg InsertRowLabels InsertRows
IsClientConnected Item
KillDoc
Layout Line LinkExecute LinkPoke LinkRequest LinkSend Listen LoadFile LoadResData LoadResPicture
LoadResString LogEvent
MakeCompileFile MakeReplica MapPath MoreResults Move MoveData MoveFirst MoveLast MoveNext MovePrevious
NavigateTo NewPage NewPassword NextRecordset
OLEDrag OnAddinsUpdate OnConnection OnDisconnection OnStartupComplete Open OpenConnection OpenDatabase
OpenQueryDef OpenRecordset OpenResultset OpenURL Overlay
PaintPicture Paste PastSpecialDlg PeekData Play Point PopulatePartial PopupMenu Print PrintForm
PropertyChanged PSet
Quit
Raise RandomDataFill RandomFillColumns RandomFillRows rdoCreateEnvironment rdoRegisterDataSource
ReadFromFile ReadProperty Rebind ReFill Refresh RefreshLink RegisterDatabase Reload Remove
RemoveAddInFromToolbar RemoveItem Render RepairDatabase Reply ReplyAll Requery ResetCustom
ResetCustomLabel ResolveName RestoreToolbar Resync Rollback RollbackTrans RowBookmark RowContaining RowTop
Save SaveAs SaveFile SaveToFile SaveToolbar SaveToOle1File Scale ScaleX ScaleY ScriptTimeout Scroll Select
SelectAll SelectPart SelPrint Send SendData SessionID Set SetAutoServerSettings SetData SetFocus SetOption
SetSize SetText SetViewport Show ShowColor ShowFont ShowHelp ShowOpen ShowPrinter ShowSave ShowWhatsThis
SignOff SignOn Size Span SplitContaining StartLabelEdit StartLogging Status Stop Synchronize
TextHeight TextWidth Timeout ToDefaults TwipsToChartPart TypeByChartType
Update UpdateControls UpdateRecord UpdateRow Upto URLEncode
WhatsThisMode Write WriteProperty
ZOrder
/C4"VBEvents" STYLE_EVENT
AccessKeyPress AddHeader AfterAddFile AfterChangeFileName AfterCloseFile AfterColEdit AfterColUpdate
AfterDelete AfterInsert AfterLabelEdit AfterRemoveFile AfterUpdate AfterWriteFile AmbienChanged
AppendToLog ApplyChanges Associate AsyncReadComplete AxisActivated AxisLabelActivated AxisLabelSelected
AxisLabelUpdated AxisSelected AxisTitleActivated AxisTitleSelected AxisTitleUpdated AxisUpdated
BeforeClick BeforeColEdit BeforeColUpdate BeforeConnect BeforeDelete BeforeInsert BeforeLabelEdit
BeforeLoadFile BeforeUpdate BinaryWrite ButtonClick ButtonCompleted ButtonGotFocus ButtonLostFocus
Change ChartActivated ChartSelected ChartUpdated Click ColEdit Collapse ColResize ColumnClick Compare
ConfigChageCancelled ConfigChanged ConnectionRequest
DataArrival DataChanged DataUpdated DblClick Deactivate DeviceArrival DeviceOtherEvent DeviceQueryRemove
DeviceQueryRemoveFailed DeviceRemoveComplete DeviceRemovePending DevModeChange Disconnect DisplayChanged
Dissociate DoGetNewFileName Done DonePainting DownClick DragDrop DragOver DropDown
EditProperty EnterCell EnterFocus ExitFocus Expand
Flush FootnoteActivated FootnoteSelected FootnoteUpdated
GotFocus
HeadClick
InfoMessage IniProperties Initialize ItemActivated ItemAdded ItemCheck ItemClick ItemReloaded ItemRemoved
ItemRenamed ItemSeletected
KeyDown KeyPress KeyUp
LeaveCell LegendActivated LegendSelected LegendUpdated LinkClose LinkError LinkNotify LinkOpen Load
LostFocus
MouseDown MouseMove MouseUp
NodeClick
ObjectMove OLECompleteDrag OLEDragDrop OLEDragOver OLEGiveFeedback OLESetData OLEStartDrag OnAddNew OnComm
OnEnd OnStart
Paint PanelClick PanelDblClick PathChange PatternChange PlotActivated PlotSelected PlotUpdated
PointActivated PointLabelActivated PointLabelSelected PointLabelUpdated PointSelected PointUpdated
PowerQuerySuspend PowerResume PowerStatusChanged PowerSuspend
QueryChangeConfig QueryComplete QueryCompleted QueryTimeout QueryUnload
ReadProperties Redirect Reposition RequestChangeFileName RequestWriteFile Resize ResultsChanged
RowColChange RowCurrencyChange RowResize RowStatusChanged
SelChange SelectionChanged SendComplete SendProgress SeriesActivated SeriesSelected SeriesUpdated
SettingChanged SplitChange StateChanged StatusUpdate SysColorsChanged
Terminate TimeChanged TitleActivated TitleSelected
UnboundAddData UnboundDeleteRow UnboundGetRelativeBookmark UnboundReadData UnboundWriteData Unload UpClick
Updated
Validate ValidationError
WillAssociate WillChangeData WillDissociate WillExecute WillUpdateRows WriteProperties
/C5"VBStatements" STYLE_STATEMENT
AppActivate
Base Beep
Call Case ChDir ChDrive Const
DefBool DefByte DefCur DefDate DefDbl DefDec DefInt DefLng DefObj DefSng DefStr Deftype DefVar
DeleteSetting Dim Do
Else ElseIf End Enum Erase Event Exit Explicit
FileCopy For ForEach Function
Get GoSub GoTo
If Implements
Kill
Let LineInput Lock LSet
MkDir
Name Next
On OnError Option
Private Property Public Put
RaiseEvent Randomize ReDim Reset Resume Return RmDir RSet
SavePicture SaveSetting SendKeys SetAttr Static Step Sub
Then To Type
Unlock
Wend While Width With
/C6"Objects"
Application
ClientCertificate Cookies
Form
ObjectContext
QueryString
Request Response
Server ServerVariables Session
/C7"Constants"
CDROM
False Fixed ForAppending ForReading ForWriting
RAMDisk Remote Removable
True
Unknown
vbArray vbBinaryCompare vbBlack vbBlue vbBoolean vbByte vbCr vbCrLf vbCurrency vbCyan vbDataObject vbDate
vbDecimal vbDouble vbEmpty vbError vbFalse vbFirstFourDays vbFirstFullWeek vbFirstJan1 vbFormFeed vbFriday
vbGeneralDate vbGreen vbInteger vbLf vbLong vbLongDate vbLongTime vbMagenta vbMonday vbNewLine vbNull
vbNullChar vbNullString vbObject vbObjectError vbRed vbSaturday vbShortDate vbShortTime vbSingle vbString
vbSunday vbTab vbTextCompare vbThursday vbTrue vbTuesday vbUseSystem vbUseSystemDayOfWeek vbVariant
vbVerticalTab vbWednesday vbWhite vbYellow
Hello,
I have a problem with SQL functions and procedures.
If a procedure/function is declared without parameters, it's not listed in function list. For example, A is listed, B is not:
A:
procedure i_am_listed(par1 number, par2 number) is
begin
...
end;
B:
procedure i_am_not_listed is
begin
...
end;
Same with functions. I've tried to fix the rules, but no luck so far.
Can anyone help me?
Thank you.