KATE: interface questions

Roland Krause rokrau at yahoo.com
Tue Jun 26 02:47:23 UTC 2001


Three questions about kate's interface (API).

1
How can I get a list of all views for a document using the current API?


I've tried several things but I cant come up with a good solution for
this. I have now extended the interface with functions 
getFirstView; getNextView, getLastView and getViewCount so that I am
able to loop over the list of views. Any better solutions? 

2
How do I load a file with a given name into the current document? Seems
like loading of files is handled by the view, but that's quite awkward.
Shouldn't loading and inserting of files be handled by the document? 

3 While we are at it, is there a possibility to insert a file into a
current document at the current cursor position? Kate cant handle that
either and I think it would make a lot of sense.

Regards
Roland


Roland


=====
--
Roland Krause
In the garage of life there are mechanics and 
there are drivers. Mechanics wanted!

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list