Re: wx.richtext.richctrl and cutting enabled

Transana <[email protected]> Wed, 6 Oct 2021 08:48:48 -0500
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
Hi Nathan,

The act of cutting text implied editing your source, while the act of 
copying does not.  I wonder if that's the issue.

Regardless, I can COPY (Ctrl/Cmd-C) from my RichTextCtrl when it's in 
read-only mode.  I don't know the status of CanCut() when I do.  
Ctrl/Cmd-X works like a copy rather than a cut in read-only mode as well.

David


On 10/6/21 6:31 AM, Nathan smith wrote:
> Hi folks,
>
>
> Quick question regarding wx.richtext.ritchtextctrl.
>
> I see the method .CanCut but how do I enable that?
>
> Is that something that gets enabled on its on with readonly/editable?
>
> If I want a rich text ctrl to be read only, but allow highlighting and 
> copying is there a way to set that away from readonly?
>
>
> Thanks in advance,
>
> Nathan
>

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/3af5d1e4-d962-a461-4445-a8480cb22bb9%40gmail.com.