NEW FunctionList v 2.0 ALPHA

2007-06-26
2012-11-14
1 2 > >> (Page 1 of 2)
  • Jens Lorenz

    Jens Lorenz - 2007-06-26

    Hello Notepad++ user,

    I published a new release of my next upcomming Function List. Please have a look on it, test it and give feedback as much as possible. Download the ALPHA version here:

    https://sourceforge.net/project/showfiles.php?group_id=189927&package_id=223668&release_id=519013

    New features:
    - Tree/List view with icons
    - Define now all language parsing rules
    - Filter in list

    Have fun
    Jens

     
    • Nobody/Anonymous

      With this version I also have a crash in notepad++ 4.3 as soon as I select a customized language I get the following message in a popup :

      the instruction at "0x01066705" referenced memory at "0x000000000". The memory could not be "read".

      And after, another popup with the following message:

      Runtime Error

      Program: ...My Documents\Documents\notepad++_portable\notepad.exe

      R6025
      -pure virtual function call

      Here I put the xml of the customized language

      - <NotepadPlus>
      - <UserLang name="ClearBasic" ext="cvs">
      - <Settings>
        <Global caseIgnored="yes" />
        <TreatAsSymbol comment="yes" commentLine="yes" />
        <Prefix words1="no" words2="no" words3="no" words4="no" />
        </Settings>
      - <KeywordLists>
        <Keywords name="Delimiters">"00"00</Keywords>
        <Keywords name="Folder+">Blockbegin If</Keywords>
        <Keywords name="Folder-">BlockEnd End</Keywords>
        <Keywords name="Operators">& . : _ + < = ></Keywords>
        <Keywords name="Comment">1/* 2*/ 0'</Keywords>
        <Keywords name="Words1">App AppMenu Basic Bool Boolean BulkRetrieve BulkSave ClarifyDB Clipboard CommonDialog ContextualObject Control DDE Debug Err Form Integer List Long Msg Net PowerQuery Printer Record SQLDB Screen ServiceMessage String</Keywords>
        <Keywords name="Words2">AND As ByRef ByVal Case Declare Dim Else ElseIf End For Function Global If Me NOT New Next OR Select Set Step Sub Then To Type While Const</Keywords>
        <Keywords name="Words3">AIX DoDefault False HPUX Irix LINUX Mac68K MacPPC Macintosh Netware Nothing Null OS2 OSF1 PI SCO Solaris SunOS True UNIX Ultrix UnixWare VMS Win16 Win32 cbAbortRetryIgnore cbAscending cbByRef cbByValue cbCloseChildren cbCloseMessage cbDefClosedWindow cbDefClosedWindow cbDescending cbEqual cbFirstMessage cbFrontIfUp cbGreater cbGreaterorEqual cbIdAbort cbIdCancel cbIdDiscard cbIdIgnore cbIdNo cbIdOK cbIdRetry cbIdSave cbIdYes cbIn cbLess cbLessOrEqual cbLike cbNoDefault cbNotEqual cbNotLike cbOK cbOKCancel cbRefreshMessage cbRetryCancel cbSaveDiscardCancel cbSoundsLike cbYesNo cbYesNoCancel ebAIX ebAbort ebAbortRetryIgnore ebApplicationModal ebArchive ebArray ebBack ebBold ebBoldItalic ebBoolean ebCFBitmap ebCFDIB ebCFMetafile ebCFPalette ebCFText ebCFUnicode ebCancel ebCr ebCrLf ebCritical ebCurrency ebDOS ebDataObject ebDate ebDefaultButton1 ebDefaultButton2 ebDefaultButton3 ebDirectory ebDouble ebEmpty ebError ebExclamation ebFirstFourDays ebFirstFullWeek ebFirstJan1 ebFormFeed ebFriday ebFromUnicode ebHPUX ebHidden ebHide ebHiragana ebIMEAlphaDbl ebIMEAlphaSng ebIMEDisabled ebIMEHiragana ebIMEKatakanaDbl ebIMEKatakanaSng ebIMENoOp ebIMEOff ebIMEOn ebIgnore ebInformation ebInteger ebIrix ebItalic ebKatakana ebLINUX ebLandscape ebLeftButton ebLf ebLong ebLowerCase ebMacintosh ebMaximized ebMaximizedFocus ebMinimized ebMinimizedFocus ebMinimizedNoFocus ebMonday ebNarrow ebNetware ebNo ebNone ebNormal ebNormalFocus ebNormalNoFocus ebNull ebNullChar ebNullString ebOK ebOKCancel ebOKOnly ebOS2 ebOSF1 ebObject ebPortrait ebProperCase ebQuestion ebReadOnly ebRegular ebRestored ebRetry ebRetryCancel ebRightButton ebSCO ebSaturday ebSingle ebSolaris ebString ebSunOS ebSunday ebSystem ebSystemModal ebTab ebThursday ebTuesday ebUltrix ebUnicode ebUnixWare ebUpperCase ebVMS ebVariant ebVerticalTab ebVolume ebWednesday ebWide ebWin16 ebWin32 ebWindows ebYes ebYesNo ebYesNoCancel</Keywords>
        <Keywords name="Words4">AbortCellChange AbortRowChange Action Activate ActiveControl Add AddItem AddSeparator AdhocCellChanged AllSpaces AllowDuplicates AppendAdhocFilter AppendContextMenu AppendDefaultSort AppendFilter AppendItem AppendPreFilter AppendRows AppendSeparator AppendSort BackColor BackStyle BorderStyle CLTransition CObj Call CallCB CancelError CancelRecord Caption CellChanged Cell_Btn_Click Cell_Click Cell_List_Select Change ChangeRecord ChangeToNew CheckRequired Clear ClearAdhocRow ClearAll ClearContextMenu ClearData ClearPreFilter Click Close Collapse ColorCells Concat Connect Connected Contains Contents ContextMenuDisplaying ContextMenu_Select Continuation ControlType Conventions ConvertCurrency ConvertCurrencyValue Copies Copy CopyFields Count CountByType CreateColorScheme CreateView CurrentDate CurrentX CurrentY DDEExecute DDEInitiate DDERequest DDETerminate DDETimeout DataChanged DataType DatabaseName DateTime DblClick Deactivate Default DefaultExt DeleteRecord DeleteRecordByID DeleteRecordById DialogId DialogTitle Dirty DisableControls DisableControlsDeep Disconnect DoAdhocQuery Down DownClick DrawMode DrawStyle DrawWidth EXEName ElapsedSeconds EmployeeObjId EmployeeObjid Empty Enable EnableAdhoc EnableControlDeep EnableControls EnableControlsDeep Enabled EndDoc EntryCount Execute ExecuteCB ExecuteMenu ExecuteProc ExitApp Expand ExtractList FileName FileTitle Fill FindFirstIndex FontBold FontFamily FontItalic FontSize ForceRedraw ForeColor Form_Load Form_Save Form_Unload Format FromPage GenerateID GenerateSQL GetAdhocRow GetByIndex GetCBCObj GetCObj GetCObjFieldList GetCObjFieldStaticItem GetCObjFieldStaticList GetCObjList GetCObjMethodKeyList GetCObjMethodList GetCObjPropertyKeyList GetChangedCell GetChangedRow GetChildKeyList GetChoiceList GetChoiceListDefault GetChoiceListUserData GetColumnControlType GetColumnMaxLength GetColumnNames GetContents GetContext GetControlByName GetCount GetCurrentDB GetDisplayCurrency GetField GetFormInstance GetFormat GetItemByIndex GetItemText GetLabel GetLastError GetLegend GetList GetMethodValue GetNext GetObjIds GetObject GetPageSize GetPoint GetPrevious GetPropertyValue GetRecordByIndex GetRecordList GetRelatedRecordList GetSelCount GetSelected GetSelectedColumns GetSelectedItem GetString GetText GetTextField GetUserData GetUserPopupListLevel1 GetUserPopupListLevel2 GotFocus GraphType Hide HideColumn hWnd Id InheritCurrency InitDir InputBox InsertItem InsertRecord IsColumnEditable IsColumnRequired IsDirty IsEnabled IsExactly IsMaxDate IsMinDate IsNew ItemByIndex ItemType Key KeyPress Left LegendPos Line ListByIndex ListCount ListIndex LogSQL Login Logout LostFocus Max MaxLength MenuBarId Min MouseDown MouseUp Move MsgBox MultiLine MultiSelect Name NewIndex NewPage NewRow NodeClick Notify NotifyById NotifyByKey NotifyChild NotifyParent NotifyTab NotifyTabParent NumSets Open OwnsGrid Page PagingEvent Parent ParentKey Play Print PromptOnSave Query QuerySize Read ReadOnly RecordType Refresh RefreshItem Regenerate RejectAdhocCellEntry RelateRecords RelateRecordsFromID RelateRecordsFromToID RelateRecordsToID Remove RemoveByIndex RemoveByItem RemoveItem RemoveSelected RenameItem ReplaceByIndex ReplaceItem ReplaceSelected Required RequiredColor ResetDefaultSort ResetPreFilter Resize RetrieveIDS RetrieveRecords RightMargin RowChanged Save SaveAnyChanges Save_Aborted Scroll SelCount SelLength SelStart SelText Selected SelectedIndexes SelectedList ServerName SetAdhocCellReadOnly SetAdhocCellText SetCObj SetCellColoring SetCellFocus SetCellReadOnly SetCellText SetColorScheme SetContextMenuEnabled SetContextMenuVisible SetCurrent SetDisplayCurrency SetEditStates SetField SetFocus SetFunction SetImageList SetItemOverlayImage SetItemText SetLabel SetLegend SetNewRowIndicator SetObjectType SetOverlayImage SetParent SetPoint SetRoot SetRootById SetRowReadOnly SetSelected SetSelectedById SetSelectedItem SetSortOrder SetTargetCurrency SetText SetUserData SetValue Show ShowAttachments ShowCR ShowCase ShowContact ShowContract ShowControls ShowControlsDeep ShowDebugWindow ShowDefaultMenu ShowEmployee ShowFTS ShowLegend ShowSelect ShowSite ShowSubcase SimpleQuery Sort SortColumn Sorted Stop SubType Tag Text TextHeight TextWidth ToPage Top TopIndex TotalRows TransferPart TraverseFromParent TraverseFromRoot Truncate UnSelect UndoRowChanges UnrelateRecords Unselect Up UpClick UpdateItem UpdateRecord UseClarifyDB UseDefaultDB UserData UserName UserObjId UserObjid ValidateUser Value Visible Width WindowState Wrap Write</Keywords>
        </KeywordLists>
      - <Styles>
        <WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="10" />
        <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="8000FF" bgColor="FFFF80" fontName="Courier New" fontStyle="0" fontSize="10" />
        <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="8000FF" bgColor="FFFF80" fontName="Courier New" fontStyle="0" fontSize="10" />
        <WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="10" />
        <WordsStyle name="KEYWORD2" styleID="6" fgColor="FF8040" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="10" />
        <WordsStyle name="KEYWORD3" styleID="7" fgColor="8080FF" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="10" />
        <WordsStyle name="KEYWORD4" styleID="8" fgColor="FF0000" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="10" />
        <WordsStyle name="COMMENT" styleID="1" fgColor="008080" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="10" />
        <WordsStyle name="COMMENT LINE" styleID="2" fgColor="008080" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="10" />
        <WordsStyle name="NUMBER" styleID="4" fgColor="400080" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="10" />
        <WordsStyle name="OPERATOR" styleID="10" fgColor="00FF00" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="10" />
        <WordsStyle name="DELIMINER1" styleID="14" fgColor="C0C0C0" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="10" />
        <WordsStyle name="DELIMINER2" styleID="15" fgColor="008040" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" fontSize="10" />
        <WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
        </Styles>
        </UserLang>
        </NotepadPlus>

      Thanks for making such a good program.

       
    • steakhacher

      steakhacher - 2007-06-27

      Hi thanks for these new release, nevertheless it seems that there is no rules defined. indeed my file FunctionListRules seems to contain anly <FunctionList />. Is it possible that you add some rules for example and to allow to easily add other language looking at the first one.

      Thanks

       
      • Nobody/Anonymous

        Dear Jens,

        I've tested your new function list and I hope I can use it very soon. But at the moment the plugin crashes NPP, when I let function list make the list. The language entry is not complex, but the file is about 150KB long (with many functions to found). The error message tells me that there occurs a runtime error.
        I'm using Notepad++ v4.1.2 on Windows XP.

        My FunctionListRules.xml-part:
            <Language name="SDN" imagelistpath="">
                <Group name="Year" subgroup="" icon="0" child="0" autoexp="4" matchcase="0" fendtobbeg="" bbegtobend="">
                    <Rules regexbeg="[ \t]*[+" regexfunc="[0-9]+" regexend="]+" bodybegin="" bodyend="" sep="" />
                </Group>
                <Group name="Month" subgroup="Year" icon="0" child="0" autoexp="4" matchcase="0" fendtobbeg="" bbegtobend="">
                    <Rules regexbeg="[ \t]*[+" regexfunc="[a-zA-Z&#xE4;&#xF6;&#xFC;&#xC4;&#xD6;&#xDC;]+" regexend="]+" bodybegin="" bodyend="" sep="" />
                </Group>
                <Group name="Day" subgroup="Year" icon="0" child="0" autoexp="4" matchcase="0" fendtobbeg="" bbegtobend="">
                    <Rules regexbeg="[ \t]*[+" regexfunc="[0-9_]+" regexend="]+" bodybegin="" bodyend="" sep="" />
                </Group>
            </Language>

        The file looks like this:

                [2007]
            [June]
        [2007_06_27]
            Text ...
        [2007_06_28]
            Text ...
           
        Last but not least: Thanks for your work!! Function list is a very good plugin and I use it everyday.

        Simon

         
        • Nobody/Anonymous

          Dear Jens again,

          I've tested the new function list version further and now I can specify the problem more acurate.

          The first Problem:
          When I delete my self-defined rule, the first line in the xml-file ('<Language name="SDN" imagelistpath="">') will not be deleted und causes a crash when I start NPP the next time. This should be a minor bug.

          Second problem:
          The plugin works fine, when I don't try to define subgroups. When I define them, NPP crashes.

          Simon

           
          • Nobody/Anonymous

            Please send me the file and your rules. Tell me which group do you changed to subgroup.

            Best Regards
            Jens

             
            • Nobody/Anonymous

              Dear Jens,
              Sorry, but I've found no way to attach the files. So here is an example file (copy the part between BOF and EOF into a new file and name it for example 'text.sdn').

              %% BOF
                      [2000] <
                  [Oktober] <
              [2000_10_10] Di <
                  Some text ...
                  > > >
                  [November] <
              [2000_11_28] Di <
                  Some text ...
                  > >
              [2000_11_29] Mi <
                  Some text ...
                  > > >
                      [2002] <
                  [Juni] <
              [2002_06_12] Mi <
                  Some more text ...
                  > > > >
              %% EOF
                 

              I had defined the groups 'Year', 'Month', and 'Day' as follows and it works properly:

                  <Language name="SDN" imagelistpath="">
                      <Group name="Year" subgroup="" icon="0" child="7" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="">
                          <Rules regexbeg="[ t]*\[+" regexfunc="[0-9]+" regexend="\]+" bodybegin="" bodyend="" sep="" />
                      </Group>
                      <Group name="Month" subgroup="" icon="0" child="1" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="">
                          <Rules regexbeg="[ t]*\[+" regexfunc="[a-zA-Z&#xE4;&#xF6;&#xFC;]+" regexend="\]+" bodybegin="" bodyend="" sep="" />
                      </Group>
                      <Group name="Day" subgroup="" icon="0" child="0" autoexp="4" matchcase="0" fendtobbeg="&lt;" bbegtobend="&gt;">
                          <Rules regexbeg="[ t]*\[+" regexfunc="([0-9]+_[0-9]+_[0-9]+)" regexend="\]+" bodybegin="" bodyend="" sep="" />
                      </Group>
                  </Language>

                 
              But when I define 'Month' as a subgroup of 'Year' and 'Day' as a subgroup of 'Month', NPP is crashing:

                  <Language name="SDN" imagelistpath="">
                      <Group name="Year" subgroup="" icon="0" child="7" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="">
                          <Rules regexbeg="[ t]*\[+" regexfunc="[0-9]+" regexend="\]+" bodybegin="" bodyend="" sep="" />
                      </Group>
                      <Group name="Month" subgroup="Year" icon="0" child="1" autoexp="0" matchcase="0" fendtobbeg="" bbegtobend="">
                          <Rules regexbeg="[ t]*\[+" regexfunc="[a-zA-Z&#xE4;&#xF6;&#xFC;]+" regexend="\]+" bodybegin="" bodyend="" sep="" />
                      </Group>
                      <Group name="Day" subgroup="Month" icon="0" child="0" autoexp="4" matchcase="0" fendtobbeg="&lt;" bbegtobend="&gt;">
                          <Rules regexbeg="[ t]*\[+" regexfunc="([0-9]+_[0-9]+_[0-9]+)" regexend="\]+" bodybegin="" bodyend="" sep="" />
                      </Group>
                  </Language>

                 
              Then when I restart NPP and make a file with SDN-Syntax the active file, the programm stops.

              Or did I misunderstand the subgroup function and this subgrouping isn't allowed?? What I want is a structure like this:
                 
                |-2000
                |   |-Oktober
                |   |    |-2000_10_10
                |   |-November
                |        |-2000_11_28
                |        |-2000_11_29
                |-2002
                    |-Juni
                         |-2002_06_12

              Best regards and thank you for your help,

              Simon

              PS: If you want, give me your email adress. Than I'll sending you my complete NPP-folder.

               
              • Nobody/Anonymous

                Hello Simon,

                did you ever tried to create the parsing rules with the dialog? If so, you should had seen, that isn't possible to define Month as a Subgroup of Year and after that Day as a Subgroup of Month!
                I would like to say: There is a 2 Level limitation. This means only Month to Year is possible or Day to Month.
                Only possible is to define several Groups as a Subgroup to one Group.

                But to prevent this mis-usage better, I have to change the dialog box behaviour.

                Best Regards
                Jens

                 
                • Nobody/Anonymous

                  Hello Jens,

                  you are right. When I define the subgroups top-down (e.g. first Month as a subgroup of Year, then Day as a subgroup of Month), then the second isn't possible. But when I define the subgroups bottom-up (first define Day as a subgroup of Month, then Day as a subgroup of Month), it is possible, eventhough the plugin doesn't support this structure (and crash).
                  But now I know where the problem is and I maybe can make a work-around.
                  Thanks for your response and your work for this project!

                  Liebe Grüße aus Bremen (I think you are german, if not: Best regards),
                  Simon

                   
    • Nobody/Anonymous

      Hello steakhacher,

      I am sorry, but could you have a look into your archive again. There is a XML file. Filled with a lot of Function List Parsing Rules. Exchange it with the current FunctionListRules.XML file.

      Best Regards
      Jens

       
      • Nobody/Anonymous

        Hi,

        I retry to download archive and indeed, there is data, and it is working. I just test on a vhdl file. I seems less powerfull than before, because port map and process names are not listed, but it should be easily corrected.

        Thanks for your job

         
    • Mieszko Lassota

      Mieszko Lassota - 2007-06-27

      i love you man... this is great... but would be greater & i'd love you more if i'd work... i can see only empy list... it doesn't work for java nor perl... some ideas? i'd really would like to use it :)

       
    • Nobody/Anonymous

      Hi Jens,

      Thanks a lot for this wonderful upgrade, we really made wonders out of it here :)

      However, there are two things we'd like to report:

      1) The list doesn't seem to refresh properly all the time. For instance, we open NPP (4.1.2), the function list displays properly what we expect it to display, but if we display another file and then come back to the first one, the list isn't complete anymore. The categories that could be expanded can't be anymore after the switch. (user-defined language)

      2) When there are multiple rules in a group, we would like to select a different icon for each rule, which is not possible at the present time. This would be a nice-to-have feature :)

      3) What is the format of the icon file ? Will we ever be able to use/make another one ourselves ?

      Thanks again for this nice plugin :D

      Fred

       
    • Nobody/Anonymous

      Oops, nevermind point 3, I RTFM'd ^^

       
    • Nobody/Anonymous

      I forget something! Please read the HOWTO.txt carefully...

      Best Regards
      Jens

       
    • seanhess

      seanhess - 2007-06-27

      Hey Jens,

      Excellent work!  Much better than the last version.  I like the groups a lot.  Thanks. 

      1) The "Test!" thing works better than last time, but is still unreliable.  Often it will display nothing or only one of the groups if you hit test.  Closing and reopening Notepad++ is the only sure way to test.  I think you should either make "Test!" work perfectly or remove it so people know they need to reset NP.

      #1 is a big problem.... when I first started using FunctionList 1, I thought it wasn't working because my regular expressions never worked... really, it was because I should have reset the program.

      2) You don't support a complete set of regular expressions... Is there any way to add support to ()?  So, I can do something like this in function begin?   <<(private|protected) (static )? function[ ]*>>

      That would be great... thanks

      Good work overall... I'm sticking with this version now... it works better than the last.

       
      • Nobody/Anonymous

        Hello,

        Thanks a lot for your report. I have to thank all for the reports.

        Regarding point one:
        You are right. I know this was a problem. I thought I just fixed it, but I will fix it until next beta release.

        Point two:
        I try to change this with the next beta. This was my plan at least. But this will take time. My target is to support the complete set of PERL RegEx version 5. So '\n' and your suggested '|' is possible also.

        Best Regards
        Jens

         
        • seanhess

          seanhess - 2007-06-27

          Thanks Jens!

          Those would be great fixes.  I found something else.

          The problem I mentioned with the "Try!" function also happens randomly when switching between documents.  Someone mentioned it before.  For me, I defined two groups for a given document type, one for public functions and another for private.  It works some of the time, but when it doesn't, only the first group shows up.  Closing and reopening NP always fixes it for the currently open document, but it always comes back eventually.

          Good luck!
          ~sean

           
    • Nobody/Anonymous

      Thanks for your wonderful great work!

      But I got some problems using it.

      How can I use or (|) in Function Begin, Function List Name & Function End?
      I tried "(\&lt;include\&gt;|\&lt;include_once\&gt;)\s*\(*" or just "(include|include_once)\s*\(*" without the double quotes in Function Begin, but can't work.

      And the multiple Group Rules seems not working properly. I added 4 rules, but seems only 1 or 2 is applied.

       
      • Nobody/Anonymous

        The pipe doesn't work as a RegEx. I added it only as a feature for "Function End to Body Begin" and "Body Begin to Body End". If you want to have behaviour, you need to create a new Group Rule. Press on "Add Rule" and copy the needed filds from one group into the other. Change for example "\&lt;include\&gt;" to "\&lt;include_once\&gt;".

        Regarding the Group Rules. Every Group Rule works if you create the correct Parsing Rules. Look into other examples. They are working.

        Best Regards
        Jens

         
        • Nobody/Anonymous

          I have created the correct Parsing Rules because I tried each rule with seperate groups, and it works.
          But when I use one group, and put them together, it doesn't work. It seems only the second rule works.
          The only difference between two rules is in the "Function Begin" (require and require_once). But

          Rule 1:
          Function Beign:      \&lt;require\&gt;\s*\(*
          Function List Name:  [a-zA-Z0-9\.\$'"_/\\ ]+
          Function End:        \)*\s*;

          Rule 2:
          Function Beign:      \&lt;require_once\&gt;\s*\(*
          Function List Name:  [a-zA-Z0-9\.\$'"_/\\ ]+
          Function End:        \)*\s*;

           
          • Nobody/Anonymous

            Ok, please sent a mail to me with the sources and the rules. I will have a look on it. See for mail address in Help of the plugin.

            Best Regards
            Jens

             
    • Johannes Kilian

      Johannes Kilian - 2007-06-28

      Hi,

      first test of your plugin looks excellent.

      But the refresh/redraw behaviour is not as good as it could be: on each refresh of the list, the display flushes - which is not very nice ...

      Questions/Suggestions:
      * How to set the refresh interval?
      * Preference to toggle automatic/manual refresh of list would be nice

       
    • Johannes Kilian

      Johannes Kilian - 2007-06-28

      Question: What is "Subgroup" in "Language Parsing Rules" for?

      Question: Is it possible to define a "hierarchy" of "functions"? What I want to do is (for Perl): Showing all SUB's (functions) in the function list. Double-Click on the function in the function list should expand the function to display (within the function list) all declarations of variables within the function as children of the function ...
      I tried to define "Variable declarations" as subgroup of "SUB" but didn't succeed. Omitting subgrouping all variable declarations allover the source are displayed ...

       
      • Nobody/Anonymous

        Hello,

        Please have a look into Pascal. There is an example with a Subgroup. Here you can see I have defined VAR to OBJECT. It means the variables are now shown in Group OBJECT.

        See this example:

        OBJECT
        |-- Object 1
        |-o Object 2
        | '-o VAR
        |   |--Var 1
        |   |--Var 2

        The condition: VAR needs to be within the Object (Between 'Function Begin' and 'Body End'). If you didn't defined a Body End there is no problem. Next Next element Function Begin of the rule will be the Body End.

        Example 1:

        BB
        |
        Object 1 () {

        }
        |
        BE

        BB of 1
        |
        Object 1

        BB of 2 and BE of 1
        |
        Object 2

        Hope this helps to understand.

        Best Regards
        Jens

         
1 2 > >> (Page 1 of 2)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks