C# Class SIL.FieldWorks.LexText.Controls.PatternView.PatternEditingHelper

We MUST inherit from this, not from just EditingHelper; otherwise, the right event isn't connected (in an overide of OnEditingHelperCreated) for us to get selection change notifications.
Inheritance: SIL.FieldWorks.Common.RootSites.RootSiteEditingHelper
Mostra file Open project: sillsdev/FieldWorks

Public Methods

Method Description
CanCopy ( ) : bool
CanCut ( ) : bool
CanPaste ( ) : bool
PatternEditingHelper ( SIL.FieldWorks.FDO.FdoCache cache, IEditingCallbacks callbacks ) : System

Protected Methods

Method Description
CallOnTyping ( string str, Keys modifiers ) : void

We don't want typing to do anything. On Linux, it does without this method, causing a crash immediately. See FWNX-1337.

Method Details

CallOnTyping() protected method

We don't want typing to do anything. On Linux, it does without this method, causing a crash immediately. See FWNX-1337.
protected CallOnTyping ( string str, Keys modifiers ) : void
str string
modifiers Keys
return void

CanCopy() public method

public CanCopy ( ) : bool
return bool

CanCut() public method

public CanCut ( ) : bool
return bool

CanPaste() public method

public CanPaste ( ) : bool
return bool

PatternEditingHelper() public method

public PatternEditingHelper ( SIL.FieldWorks.FDO.FdoCache cache, IEditingCallbacks callbacks ) : System
cache SIL.FieldWorks.FDO.FdoCache
callbacks IEditingCallbacks
return System