Table Of Contents

Previous topic

editwindow

Next topic

filling

This Page

phoenix_title EditWindow

EditWindow based on StyledTextCtrl.


class_hierarchy Inheritance Diagram

Inheritance diagram for class EditWindow

Inheritance diagram of EditWindow


super_classes Known Superclasses

stc.StyledTextCtrl


method_summary Methods Summary

__init__ Create EditWindow instance.
CanCopy Return True if text is selected and can be copied.
CanCut Return True if text is selected and can be cut.
CanEdit Return True if editing should succeed.
CanPaste Return True if pasting should succeed.
DoFindNext  
GetLastPosition  
GetRange  
GetSelection  
OnUpdateUI Check for matching braces.
setDisplayLineNumbers  
setStyles Configure font size, typeface and color for lexer.
ShowPosition  

api Class API



class EditWindow(stc.StyledTextCtrl)

EditWindow based on StyledTextCtrl.


Methods



__init__(self, parent, id=-1, pos=DefaultPosition, size=DefaultSize, style=CLIP_CHILDREN | SUNKEN_BORDER)

Create EditWindow instance.



CanCopy(self)

Return True if text is selected and can be copied.



CanCut(self)

Return True if text is selected and can be cut.



CanEdit(self)

Return True if editing should succeed.



CanPaste(self)

Return True if pasting should succeed.



DoFindNext(self, findData, findDlg=None)


GetLastPosition(self)


GetRange(self, start, end)


GetSelection(self)


OnUpdateUI(self, event)

Check for matching braces.



setDisplayLineNumbers(self, state)


setStyles(self, faces)

Configure font size, typeface and color for lexer.



ShowPosition(self, pos)