eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Tools::StringSearchToolForTextView':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: StringSearchToolForTextView (in Tools)


Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--Tools::StringSearchTool
            |
            +--Tools::StringSearchToolForTextView

Package:
stx:libtool
Category:
Interface-Tools
Version:
rev: 1.25 date: 2023/11/29 18:41:09
user: cg
file: Tools__StringSearchToolForTextView.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


documentation to be added.

class:
    <a short class summary here, describing what instances represent>

responsibilities:    
    <describing what my main role is>

collaborators:    
    <describing with whom and how I talk to>

API:
    <public api and main messages>
    
example:
    <a one-line examples on how to use - can also be in a separate example method>

implementation:
    <implementation points>


[instance variables:]

[class variables:]

copyright

COPYRIGHT (c) 2008 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.

Class protocol:

accessing
o  lastMatch

o  lastMatch: aBoolean

o  lastMatchRegex

o  lastMatchRegex: aBoolean

interface specs
o  windowSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

Usage example(s):

     UIPainter new openOnClass:Tools::StringSearchToolForTextView andSelector:#windowSpec
     Tools::StringSearchToolForTextView new openInterface:#windowSpec
     Tools::StringSearchToolForTextView open

o  windowSpec_old
This resource specification was automatically generated
by the UIPainter of ST/X.

Usage example(s):

     UIPainter new openOnClass:Tools::StringSearchToolForTextView andSelector:#windowSpec_old
     Tools::StringSearchToolForTextView new openInterface:#windowSpec_old


Instance protocol:

accessing
o  textView
return my textView component

o  textView: something

aspects
o  matchCheckboxVisible

o  matchHolder

o  regexMatchHolder

change & update
o  matchHolderChanged
Modified (format): / 26-05-2021 / 23:08:50 / cg

o  searchTextModifiedHolderChanged
Transcript showCR: searchPattern.

initialization & release
o  initialize

o  postBuildSearchTextView: anEditFieldView

misc
o  trimMatchPattern: aString
'***foo***' trimForWhich: [:ch | ch = $*]. => 'foo'
'foo***' trimForWhich: [:ch | ch = $*]. => 'foo'
'***foo' trimForWhich: [:ch | ch = $*]. => 'foo'
'***f***o***o***' trimForWhich: [:ch | ch = $*]. => 'f***o***o'
'foo' trimForWhich: [:ch | ch = $*]. => 'foo'

public
o  crAction

o  escapePressed

o  returnFocusToTextView

o  searchPreviousTextReachBeginning

searching
o  hideSearchBar

o  searchNextTextFromBeginning
(comment from inherited method)
self parent

o  searchNextTextIncludingCurrentSelection: includeCurrentSelection
Modified (format): / 26-05-2021 / 23:12:14 / cg

o  searchPreviousText
(comment from inherited method)
self setFocusToSearchTextView.

o  searchPreviousTextFromEnd
(comment from inherited method)
self parent


Examples:


Notice that everything between [exBegin] and [exEnd] is extracted by the html-doc generator to create nicely formatted and clickable executable examples in the generated html-doc. (see the browser's class-documentation menu items for more) opening the application:
   Tools::StringSearchToolForTextView open
opening the application on some model:
   Tools::StringSearchToolForTextView openOn:aModel


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 02:57:57 GMT