@@ -12,13 +12,13 @@ Menu "CodeBrowser"
1212End
1313
1414// Markers for the different listbox elements
15- StrConstant strConstantMarker = "\\ W539"
16- StrConstant constantMarker = "\\ W534"
17- StrConstant functionMarker = "\\ W529"
18- StrConstant macroMarker = "\\ W519"
19- StrConstant windowMarker = "\\ W520"
20- StrConstant procMarker = "\\ W521"
21- StrConstant structureMarker = "\\ W522"
15+ StrConstant strConstantMarker = "\\ W539"
16+ StrConstant constantMarker = "\\ W534"
17+ StrConstant functionMarker = "\\ W529"
18+ StrConstant macroMarker = "\\ W519"
19+ StrConstant windowMarker = "\\ W520"
20+ StrConstant procMarker = "\\ W521"
21+ StrConstant structureMarker = "\\ W522"
2222
2323// the idea here: static functions have less intense colors
2424StrConstant plainColor = "0,0,0" // black
@@ -47,8 +47,6 @@ static Constant CsaveMaximum = 1024
4747
4848Constant openKey = 46 // ".", the dot
4949
50- // List of available macro subtypes
51- StrConstant subTypeList = "Graph;GraphStyle;GraphMarquee;Table;TableStyle;Layout;LayoutStyle;LayoutMarquee;ListBoxControl;Panel;ButtonControl;CheckBoxControl;PopupMenuControl;SetVariableControl"
5250// List of igor7 structure elements.
5351static strConstant cstrTypes = "Variable|String|WAVE|NVAR|SVAR|DFREF|FUNCREF|STRUCT|char|uchar|int16|uint16|int32|uint32|int64|uint64|float|double"
5452// Loosely based on the WM procedure from the documentation
@@ -322,7 +320,7 @@ Function addDecoratedFunctions(module, procedure, declWave, lineWave)
322320End
323321
324322// Adds Constants/StrConstants by searching for them in the Procedure with a Regular Expression
325- Function addDecoratedConstants ( module, procedureWithoutModule, declWave, lineWave)
323+ Function addDecoratedConstants ( module, procedureWithoutModule, declWave, lineWave)
326324 String module, procedureWithoutModule
327325 WAVE /T declWave
328326 WAVE /D lineWave
@@ -364,12 +362,12 @@ Function addDecoratedConstants(module, procedureWithoutModule, declWave, lineWa
364362 KillWaves / Z W_Index
365363End
366364
367- Function addDecoratedMacros ( module, procedureWithoutModule, declWave, lineWave)
365+ Function addDecoratedMacros ( module, procedureWithoutModule, declWave, lineWave)
368366 String module, procedureWithoutModule
369367 WAVE /T declWave
370368 WAVE /D lineWave
371369
372- Variable numLines, i , idx, numEntries, numMatches
370+ Variable numLines, idx, numEntries, numMatches
373371 String procText, re, def, name, arguments, type
374372
375373 // get procedure code
@@ -406,7 +404,7 @@ Function addDecoratedMacros(module, procedureWithoutModule, declWave, lineWave)
406404 endfor
407405End
408406
409- Function addDecoratedStructure ( module, procedureWithoutModule, declWave, lineWave, [ parseVariables] )
407+ Function addDecoratedStructure ( module, procedureWithoutModule, declWave, lineWave, [ parseVariables] )
410408 String module, procedureWithoutModule
411409 WAVE /T declWave
412410 WAVE /D lineWave
@@ -415,7 +413,7 @@ Function addDecoratedStructure(module, procedureWithoutModule, declWave, lineWa
415413 parseVariables = 1 // added for debugging
416414 endif
417415
418- variable numLines, i , idx, numEntries, numMatches
416+ variable numLines, idx, numEntries, numMatches
419417 string procText, reStart, reEnd, name, StaticKeyword
420418
421419 // get procedure code
0 commit comments