Module fundamental :: Class FundamentalView
[frames] | no frames]

Class FundamentalView



                    object --+        
                             |        
              debug.debugmixin --+    
                                 |    
                    object --+   |    
                             |   |    
configprefs.ClassSettingsMixin --+    
                                 |    
                        views.View --+
                                     |
                                    FundamentalView
Known Subclasses:
python_plugin_py.PythonView (script), shell.ShellView

The base view of most (if not all) of the views that use the STC to directly edit the text. Views (like the HexEdit view or an image viewer) that only use the STC as the backend storage are probably not based on this view.

Instance Methods [hide private]
  createEditWindow(self, parent)
  createSTC(self, parent, style=False)
  setLexer(self)
  getKeyWords(self)
Return a list of tuples that specify the keyword set and the list of keywords for that set.
  applyDefaultStyle(self)
  setWordWrap(self, enable=None)
  setLineNumbers(self, enable=None)
  styleSTC(self)
  openPostHook(self)

Inherited from views.View: OnUpdateUI, __del__, __init__, addPopup, close, createWindow, electricReturn, focus, getFunctionList, getIcon, getLocalKeyMap, getMenuActions, getNumWin, getTabName, getTitle, getToolbarActions, indent, open, popupMenu, removeMinibuffer, reparent, setMinibuffer, showModified

Inherited from debug.debugmixin: dprint

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__


Class Variables [hide private]
  pluginkey = 'fundamental'
  keyword = 'Fundamental'
  regex = '.*'
  lexer = 1
  defaultsettings = {'menu_actions': [[[('&Edit', 0.10000000000000001)],...
  documents = {}

Inherited from views.View: debuglevel, icon, localkeymaps, temporary


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

createEditWindow(self, parent)

 
None
Overrides: views.View.createEditWindow

createSTC(self, parent, style=False)

 
None

setLexer(self)

 
None

getKeyWords(self)

 

Return a list of tuples that specify the keyword set and the
list of keywords for that set.  The STC can handle multiple
sets of keywords in certain cases (HTML, CPP, others: see
L{http://www.yellowbrain.com/stc/lexing.html#setkw})

Keywords should be space separated.

@return: list of tuples
@rtype: list of (int, keywords)

applyDefaultStyle(self)

 
None

setWordWrap(self, enable=None)

 
None

setLineNumbers(self, enable=None)

 
None

styleSTC(self)

 
None

openPostHook(self)

 
None
Overrides: views.View.openPostHook

Class Variable Details [hide private]

pluginkey

None
Value:
'fundamental'                                                          
      

keyword

None
Value:
'Fundamental'                                                          
      

regex

None
Value:
'.*'                                                                   
      

lexer

None
Value:
1                                                                     
      

defaultsettings

None
Value:
{'keyboard_actions': [<class 'fundamental.BeginningOfLine'>,
                      <class 'fundamental.EndOfLine'>],
 'menu_actions': [[[('&Edit', 0.10000000000000001)],
                   <class 'fundamental.WordWrap'>,
                   0.10000000000000001],
                  <class 'fundamental.LineNumbers'>,
                  <class 'fundamental.FindText'>,
                  <class 'fundamental.ReplaceText'>,
...                                                                    
      

documents

None
Value:
{}