|
Class: TagsBrowser (in Tools)
Object
|
+--Model
|
+--ApplicationModel
|
+--Tools::TagsBrowser
- Package:
- stx:libtool
- Category:
- Interface-Tools-File-Tags
- Version:
- rev:
1.98
date: 2023/05/28 14:47:35
- user: cg
- file: Tools__TagsBrowser.st directory: libtool
- module: stx stc-classLibrary: libtool
a simple tag-support view, which can be plugged into another (file) application
for indexing.
Supports a bunch of languages somehow, but none really perfect.
Uses ctags if present, if not, has naive fallback tag generation support,
so it can be used without additional tool support (somewhat less precise).
Good enough for me, doing work in other (programming) languages
(of course, is not able to compete with specialized tools like notepad++, emacs or similar).
copyrightCOPYRIGHT (c) 2002 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
help specs
-
helpSpec
-
(comment from inherited method)
default is: no help-spec (should be redefined by concrete class if help is wanted).
interface specs
-
windowSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:Tools::TagsBrowser andSelector:#windowSpec
Tools::TagsBrowser new openInterface:#windowSpec
Tools::TagsBrowser open
|
menu specs
-
assemblerMenuSlice
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#assemblerMenuSlice
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser assemblerMenuSlice)) startUp
|
-
cMenuSlice
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#cMenuSlice
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser cMenuSlice)) startUp
|
-
dartMenuSlice
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#dartMenuSlice
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser dartMenuSlice)) startUp
|
-
htmlMenuSlice
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#htmlMenuSlice
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser htmlMenuSlice)) startUp
|
-
javaMenuSlice
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#javaMenuSlice
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser javaMenuSlice)) startUp
|
-
javaScriptMenuSlice
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#javaScriptMenuSlice
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser javaScriptMenuSlice)) startUp
|
-
lispMenuSlice
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#lispMenuSlice
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser lispMenuSlice)) startUp
|
-
luaMenuSlice
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#luaMenuSlice
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser luaMenuSlice)) startUp
|
-
makefileMenuSlice
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#makefileMenuSlice
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser makefileMenuSlice)) startUp
|
-
middleButtonMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#middleButtonMenu
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser middleButtonMenu)) startUp
|
-
objcMenuSlice
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#objcMenuSlice
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser objcMenuSlice)) startUp
|
-
ozMenuSlice
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#ozMenuSlice
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser ozMenuSlice)) startUp
|
-
pythonMenuSlice
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#pythonMenuSlice
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser pythonMenuSlice)) startUp
|
-
smalltalkMenuSlice
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#smalltalkMenuSlice
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser smalltalkMenuSlice)) startUp
|
-
tclMenuSlice
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#tclMenuSlice
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser tclMenuSlice)) startUp
|
-
toolBarMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::TagsBrowser andSelector:#toolBarMenu
(Menu new fromLiteralArrayEncoding:(Tools::TagsBrowser toolBarMenu)) startUp
|
accessing
-
editedFile
-
-
editedFile: aFilename
-
-
editedFileHolder
-
gets the holder, which keeps the current edited file
-
editedFileHolder: aHolder
-
gets the holder, which keeps the current edited file
-
filter: aString
-
-
tagsMenu: aMenuOrNil
-
set the menu to be shown in the tag list
-
tagsValid
-
-
tempDirectory
-
accessing presentation aspects
-
groupedByType
-
-
groupedByType: aBool
-
-
isSorted
-
-
isSorted: aBool
-
-
sorted
-
marked as obsolete by exept MBP at 28-05-2023
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
sorted: aBool
-
marked as obsolete by exept MBP at 28-05-2023
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
sortedByLineNumber
-
-
sortedByLineNumber: aBool
-
-
sortedByName
-
-
sortedByName: aBool
-
-
sortedByNameIgnoringCase
-
-
sortedByNameIgnoringCase: aBool
-
-
sortedByNameIgnoringLeadingUnderscores
-
-
sortedByNameIgnoringLeadingUnderscores: aBool
-
-
sortedByNameIgnoringLeadingUnderscoresAndCase
-
-
sortedByNameIgnoringLeadingUnderscoresAndCase: aBool
-
-
sortedByType
-
-
sortedByType: aBool
-
accessing-behavior
-
action: aOneArgBlock
-
set the action, which is called with the selected tag,
if the user selects one
accessing-filters
-
anchorsOnly
-
-
anchorsOnly: aBool
-
aBool ifTrue:[
-
classesAndFunctionsOnly
-
-
classesAndFunctionsOnly: aBool
-
-
classesAndMethodsOnly
-
-
classesAndMethodsOnly: aBool
-
-
classesFunctionsAndVariablesOnly
-
-
classesFunctionsAndVariablesOnly: aBool
-
-
classesOnly
-
-
classesOnly: aBool
-
-
dartClassesAndMethodsOnly
-
^ tagList dartClassesAndMethodsOnly
-
dartClassesAndMethodsOnly: aBool
-
aBool ifTrue:[
Usage example(s):
tagList dartClassesAndMethodsOnly:aBool.
|
-
dartClassesOnly
-
^ tagList dartClassesOnly
-
dartClassesOnly: aBool
-
aBool ifTrue:[
Usage example(s):
tagList dartClassesOnly:aBool.
|
-
dartMethodsOnly
-
^ tagList dartMethodsOnly
-
dartMethodsOnly: aBool
-
aBool ifTrue:[
Usage example(s):
tagList dartMethodsOnly:aBool.
|
-
definesOnly
-
-
definesOnly: aBool
-
-
documentationOnly
-
-
documentationOnly: aBool
-
-
functionsAndVariablesOnly
-
-
functionsAndVariablesOnly: aBool
-
-
functionsOnly
-
-
functionsOnly: aBool
-
-
headlinesOnly
-
-
headlinesOnly: aBool
-
aBool ifTrue:[
-
hideClasses
-
-
hideClasses: aBool
-
-
hideDartClasses
-
^ tagList hideDartClasses
-
hideDartClasses: aBool
-
tagList hideDartClasses:aBool.
-
hideDartFields
-
^ tagList hideDartFields
-
hideDartFields: aBool
-
tagList hideDartFields:aBool.
-
hideDartInterfaces
-
^ tagList hideDartInterfaces
-
hideDartInterfaces: aBool
-
tagList hideDartInterfaces:aBool.
-
hideDartMethods
-
^ tagList hideDartMethods
-
hideDartMethods: aBool
-
tagList hideDartMethods:aBool.
-
hideDartPackages
-
^ tagList hideDartPackages
-
hideDartPackages: aBool
-
tagList hideDartPackages:aBool.
-
hideDataLabels
-
-
hideDataLabels: aBool
-
-
hideDefines
-
-
hideDefines: aBool
-
-
hideDocumentation
-
-
hideDocumentation: aBool
-
-
hideFields
-
-
hideFields: aBool
-
-
hideFunctionProtoTypes
-
-
hideFunctionProtoTypes: aBool
-
-
hideFunctions
-
-
hideFunctions: aBool
-
-
hideIncludes
-
-
hideIncludes: aBool
-
-
hideInterfaces
-
-
hideInterfaces: aBool
-
-
hideJavaClasses
-
^ tagList hideJavaClasses
-
hideJavaClasses: aBool
-
tagList hideJavaClasses:aBool.
-
hideJavaFields
-
^ tagList hideJavaFields
-
hideJavaFields: aBool
-
tagList hideJavaFields:aBool.
-
hideJavaInterfaces
-
^ tagList hideJavaInterfaces
-
hideJavaInterfaces: aBool
-
tagList hideJavaInterfaces:aBool.
-
hideJavaMethods
-
^ tagList hideJavaMethods
-
hideJavaMethods: aBool
-
tagList hideJavaMethods:aBool.
-
hideJavaPackages
-
^ tagList hideJavaPackages
-
hideJavaPackages: aBool
-
tagList hideJavaPackages:aBool.
-
hideLabels
-
-
hideLabels: aBool
-
-
hideLispConstants
-
-
hideLispConstants: aBool
-
-
hideLispEvaluations
-
-
hideLispEvaluations: aBool
-
-
hideLispMacros
-
-
hideLispMacros: aBool
-
-
hideLispMethods
-
-
hideLispMethods: aBool
-
-
hideLocalLabels
-
-
hideLocalLabels2
-
-
hideLocalLabels2: aBool
-
-
hideLocalLabels3
-
-
hideLocalLabels3: aBool
-
-
hideLocalLabels: aBool
-
-
hideLuaFunctions
-
^ tagList hideLuaFunctions
-
hideLuaFunctions: aBool
-
tagList hideLuaFunctions:aBool.
-
hideLuaVariables
-
^ tagList hideLuaVariables
-
hideLuaVariables: aBool
-
tagList hideLuaVariables:aBool.
-
hideMethods
-
-
hideMethods: aBool
-
-
hideObjcClasses
-
^ tagList hideObjcClasses
-
hideObjcClasses: aBool
-
tagList hideObjcClasses:aBool.
-
hideOzClasses
-
^ tagList hideOzClasses
-
hideOzClasses: aBool
-
tagList hideOzClasses:aBool.
-
hideOzFunctions
-
^ tagList hideOzFunctions
-
hideOzFunctions: aBool
-
tagList hideOzFunctions:aBool.
-
hideOzMethods
-
^ tagList hideOzMethods
-
hideOzMethods: aBool
-
tagList hideOzMethods:aBool.
-
hidePackages
-
-
hidePackages: aBool
-
-
hidePythonClasses
-
^ tagList hidePythonClasses
-
hidePythonClasses: aBool
-
tagList hidePythonClasses:aBool.
-
hidePythonFunctions
-
^ tagList hidePythonFunctions
-
hidePythonFunctions: aBool
-
tagList hidePythonFunctions:aBool.
-
hidePythonMethods
-
^ tagList hidePythonMethods
-
hidePythonMethods: aBool
-
tagList hidePythonMethods:aBool.
-
hideStatic
-
-
hideStatic: aBool
-
-
hideStructMembers
-
-
hideStructMembers: aBool
-
-
hideStructures
-
-
hideStructures: aBool
-
-
hideTextLabels
-
-
hideTextLabels: aBool
-
-
hideTypedefs
-
-
hideTypedefs: aBool
-
-
hideVariables
-
-
hideVariables: aBool
-
-
javaClassesAndMethodsOnly
-
^ tagList javaClassesAndMethodsOnly
-
javaClassesAndMethodsOnly: aBool
-
aBool ifTrue:[
Usage example(s):
tagList javaClassesAndMethodsOnly:aBool.
|
-
javaClassesOnly
-
^ tagList javaClassesOnly
-
javaClassesOnly: aBool
-
aBool ifTrue:[
Usage example(s):
tagList javaClassesOnly:aBool.
|
-
javaMethodsOnly
-
^ tagList javaMethodsOnly
-
javaMethodsOnly: aBool
-
aBool ifTrue:[
Usage example(s):
tagList javaMethodsOnly:aBool.
|
-
luaFunctionsOnly
-
^ tagList luaFunctionsOnly
-
luaFunctionsOnly: aBool
-
aBool ifTrue:[
Usage example(s):
tagList luaFunctionsOnly:aBool.
|
-
macrosOnly
-
-
macrosOnly: aBool
-
-
methodsOnly
-
-
methodsOnly: aBool
-
-
pythonClassesOnly
-
^ tagList pythonClassesOnly
-
pythonClassesOnly: aBool
-
aBool ifTrue:[
Usage example(s):
tagList pythonClassesOnly:aBool.
|
-
pythonFunctionsOnly
-
^ tagList pythonFunctionsOnly
-
pythonFunctionsOnly: aBool
-
aBool ifTrue:[
Usage example(s):
tagList pythonFunctionsOnly:aBool.
|
-
pythonMethodsOnly
-
^ tagList pythonMethodsOnly
-
pythonMethodsOnly: aBool
-
aBool ifTrue:[
Usage example(s):
tagList pythonMethodsOnly:aBool.
|
-
structsOnly
-
-
structsOnly: aBool
-
-
tagTypesPresent
-
-
tagTypesPresentHolder
-
-
targetsOnly
-
-
targetsOnly: aBool
-
-
typesOnly
-
-
typesOnly: aBool
-
-
variablesOnly
-
-
variablesOnly: aBool
-
aspects
-
editedFileHasAssemblerSuffix
-
-
editedFileHasCSuffix
-
-
editedFileHasDartSuffix
-
-
editedFileHasEiffelSuffix
-
-
editedFileHasFortranSuffix
-
-
editedFileHasHtmlSuffix
-
-
editedFileHasJavaScriptSuffix
-
-
editedFileHasJavaSuffix
-
-
editedFileHasLispSuffix
-
-
editedFileHasLuaSuffix
-
-
editedFileHasObjcSuffix
-
-
editedFileHasOzSuffix
-
-
editedFileHasPythonSuffix
-
-
editedFileHasRubySuffix
-
-
editedFileHasSmalltalkSuffix
-
-
editedFileHasTCLSuffix
-
-
editedFileIsMakefile
-
-
functionsOnlyHolder
-
-
remoteCtagsModel
-
-
sortIsByLineNumber
-
-
sortIsByName
-
-
sourceFilterHolder
-
-
structsOnlyHolder
-
-
structsOnlyVisibleHolder
-
-
tagFilterFieldVisibleHolder
-
-
tagFilterPatternHolder
-
-
tagList
-
returns the tagList
-
tagView
-
returns the widget which shows the tags
change & update
-
delayedEditedFileChanged
-
called when the current editing file has changed.
Update the valueHolders which keep track of the edited files type (i.e. language)
-
editedFileChanged
-
-
tagFilterChanged
-
self updateTagList
-
tagFilterVisibilityChanged
-
self windowGroup
-
update: something with: aparameter from: changedObject
-
(comment from inherited method)
dependent is notified of some change -
Default is to try update:with:
-
updateFileTypeHolders
-
called when the current editing file has changed.
Update the valueHolders which keep track of the edited files type (i.e. language)
-
updateForLine: lineNr
-
highlight the tag for a particular line in the edittext
-
updateForLine: lineNr filtering: tagFilterOrNil
-
highlight the tag for a particular line in the edittext
called via a hook via the masterapp from the editView...
The filter can be used eg. to find only function tags
(i.e. to ignore case and goto labels in C)
hooks for ccbrowser
-
buildTarget
-
-
tagForFunction: functionName
-
-
tagForMacro: typeName
-
-
tagForType: typeName
-
hooks for embedding
-
tagListGenerator: aBlockOrValueHolder
-
to use a tagsBrowser as a component in another application,
this hook allows for the tag list to be provided by that application.
If non-nil, it will be evaluated to generate the tagList instead of
reading the tags from the editedFile
menu actions
-
keepingSelectionDo: aBlock
-
-
middleButtonMenu
-
-
sortByLineNumber
-
-
sortByName
-
sortedByName:
-
updateTagList
-
regenerate tags
startup & release
-
assignFocusToTagFilterInputField
-
(self builder componentAt:#TagFilterInputField) takeFocus
-
cloneWith: anApplication
-
|browser|
-
initialize
-
(comment from inherited method)
nothing done here;
but can be redefined in concrete applications
-
postBuildWith: aBuilder
-
(comment from inherited method)
this is sent after an interface is built from a spec,
but only iff the appModel is not the same as the topView's app
(i.e. if it is not a build for the same appModel again).
In the other case, postBuildAsSubcanvasWith is invoked.
Can be redefined in subclasses for additional setup after
the view has been built, but not yet opened.
-
tagListSelectionChangedTo: idx
-
TagView
|