hi all,

I'm programing in python to use kate part as my main editor component in my
project. But I had problem using the api.

I can get an editor with following code:

class EditorViewBase(QSplitter):
def __init__(self, parent=None):
QSplitter.__init__(self)
self.__editor = KTextEditor.EditorChooser.editor()
self.doc = self.__editor.createDocument(self)
self.edit = self.doc.createView(self)

however, I want to toggle the line-number on, and also fold and bookmarks.

I found there's a abstract interface in cpp code:
KTextEditor::ConfigInterface,
but I don't know how to access the interface in python.

any body can help me ?

Thanks!

Best regards,

Binghoo Dang.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to