@ mikhailt :
I don't like macros myself but I didn't find any other way to achieve editor modularization...Besides if the example did not build it is most likely due not using the build script (but I should have made this clearer and provided a window equivalent...
). FYI information the QEditorFactory is a convinience class that's not fully part of the QCodeEdit library because of its dependency on Edyuk. However I left it here because it can always be ported to any other app just by replacing (or removing) the exporting macros and implement another settings handling. I might take time to remove these dependencies later on while keeping all QEditorFactory's functionalities but I've not much time now...
@ elcuco :
1,2,3,4,5 : Whoops... You're right once again... Got to correct this.
6 : I've explained already why definitions are what they are currently. I probably won't have time to change that before a long time but after having a look at the generic components that are bundled (and handle the XLD files) one, especially you, should be able to build proper interfaces to support Kate (or any other) syntax definitions.
7 : that's your opinion but I assume I should just provide default search/replace widget of both type...
8 : Well, whe I use QCodeEdit, even from Edyuk, I never face such a situation except maybe on loading of big files but at least the UI doesn't freeze...
9 : Not clear? Well I think it would be... There are basically two cases :
10 : Someone told me this already but I forgot to modify the files...
- One embeds QCodeEdit into an app or modify it and thus MUST release its work under GPL
- One just links to an UNMODIFIED version of QCodeEdit and undergo no restrictions apart from these stated by the LGPL (which are not very tough, are they?)
11 : the completion is not build-in... There is just a ready framework that only needs a proper QCompletionEngine to be implemented and registered by the app. It seemed to me that it would be impossible to implement an efficient completion in a generic way so I only kept the raw C++ interface.
I will try to issue a fixed version of QCodeEdit ASAP taking all your remarks into account but please remember that I'm rather busy ATM.![]()
Bookmarks