@@ -12,13 +12,13 @@ Menu "CodeBrowser"
12
12
End
13
13
14
14
// 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"
22
22
23
23
// the idea here: static functions have less intense colors
24
24
StrConstant plainColor = "0,0,0" // black
@@ -47,8 +47,6 @@ static Constant CsaveMaximum = 1024
47
47
48
48
Constant openKey = 46 // ".", the dot
49
49
50
- // List of available macro subtypes
51
- StrConstant subTypeList = "Graph;GraphStyle;GraphMarquee;Table;TableStyle;Layout;LayoutStyle;LayoutMarquee;ListBoxControl;Panel;ButtonControl;CheckBoxControl;PopupMenuControl;SetVariableControl"
52
50
// List of igor7 structure elements.
53
51
static strConstant cstrTypes = "Variable|String|WAVE|NVAR|SVAR|DFREF|FUNCREF|STRUCT|char|uchar|int16|uint16|int32|uint32|int64|uint64|float|double"
54
52
// Loosely based on the WM procedure from the documentation
@@ -322,7 +320,7 @@ Function addDecoratedFunctions(module, procedure, declWave, lineWave)
322
320
End
323
321
324
322
// 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)
326
324
String module, procedureWithoutModule
327
325
WAVE /T declWave
328
326
WAVE /D lineWave
@@ -364,12 +362,12 @@ Function addDecoratedConstants(module, procedureWithoutModule, declWave, lineWa
364
362
KillWaves / Z W_Index
365
363
End
366
364
367
- Function addDecoratedMacros ( module, procedureWithoutModule, declWave, lineWave)
365
+ Function addDecoratedMacros ( module, procedureWithoutModule, declWave, lineWave)
368
366
String module, procedureWithoutModule
369
367
WAVE /T declWave
370
368
WAVE /D lineWave
371
369
372
- Variable numLines, i , idx, numEntries, numMatches
370
+ Variable numLines, idx, numEntries, numMatches
373
371
String procText, re, def, name, arguments, type
374
372
375
373
// get procedure code
@@ -406,7 +404,7 @@ Function addDecoratedMacros(module, procedureWithoutModule, declWave, lineWave)
406
404
endfor
407
405
End
408
406
409
- Function addDecoratedStructure ( module, procedureWithoutModule, declWave, lineWave, [ parseVariables] )
407
+ Function addDecoratedStructure ( module, procedureWithoutModule, declWave, lineWave, [ parseVariables] )
410
408
String module, procedureWithoutModule
411
409
WAVE /T declWave
412
410
WAVE /D lineWave
@@ -415,7 +413,7 @@ Function addDecoratedStructure(module, procedureWithoutModule, declWave, lineWa
415
413
parseVariables = 1 // added for debugging
416
414
endif
417
415
418
- variable numLines, i , idx, numEntries, numMatches
416
+ variable numLines, idx, numEntries, numMatches
419
417
string procText, reStart, reEnd, name, StaticKeyword
420
418
421
419
// get procedure code
0 commit comments