Answer the question
In order to leave comments, you need to log in
A piece of Qt Creator in your project?
Hello!
The question is thus. Yes, I have a project X. And this project needs a normal code editor. Of course, there is QScintilla, of course I wrote a series of posts about Qcintilla, but after the post of comrade hlamer, I completely changed my attitude towards it. I realized that for X I need a cooler editor. To cope with this task, it was decided to write such an editor Y as a separate component (library) and connect the shared library to the project.
I am a programmer, to put it mildly, not the strongest, so writing my own highlighter and code folder is a difficult task for me. The choice fell on Qt Creator. Or more precisely, on its plugin - texteditor.
I, like a true pioneer, got into the source - I began to read it, I was even able to understand the architecture of the plugin. Only now I don’t have enough strength to clean it from those metastases with which it clung to the core of qtcreator.
Maybe someone will give advice on how to embed this texteditor into the Y component as correctly as possible.
PS The Y component is going to be a separate open source library. So if someone is interested in creating a very powerful (with sublime functionality) text editor, please write to me in PM, we will cut the texteditor source together and do great things.
Answer the question
In order to leave comments, you need to log in
As for tearing out components, I had a similar experience.
I encroached on the debugger from Creator. here. In principle, it turned out, but a lot of effort was spent. And I did not have enough enthusiasm to upgrade to the next version of Creatora. Too many relationships between components inside Qt Creator.
Concerning creation of the component. I already wrote in a personal, but I will duplicate it for the public, maybe it will be useful to someone else.
Filipe Azevedo aka PasNox is very interested in creating the Y component and is working on it here . He is a cool Qt guy (God knows how many years of experience, there are all sorts of certificates...) and he has some experience in creating text editors. Join him, together you will do better.
In Qt there is such a class QSyntaxHighlighter
Why is it not suitable?
Thanks for answers. @PasNox and I are already working together.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question