Do what? What do you want to do with the letters?
no.. I want to be the nr. 1,2,3,5 ->.... The lines.. were I am writing
where do u wanna write them..explain clearly so we can help u..
May be you can have a look at Qt Creator code.
So basically you want a text editor with line numbers right?
This topic has already been covered several times, please use the search feature of this forum.
You can find such a feature in QCodeEdit and QScintilla or any editor widget used by IDEs out there. Edyuk uses QCE, MonkeyStudio uses QScintilla and the others (QtCreator, QDevelop, HaiQ) have it somewhere it their code which you can study and copy as it is GPL'd
Current Qt projects : QCodeEdit, RotiDeCode
so you're after a text editor that turns 'r' into 'a'? I must be missing something because apart from that I cannot see what's so special about your screenshots...
Last edited by fullmetalcoder; 19th February 2009 at 21:51. Reason: spelling error
Current Qt projects : QCodeEdit, RotiDeCode
no no no !!..
sorry that was my error...
1.rr
2.
this is what I what to do
look :
http://www.qt-apps.org/content/previ...name=QCodeEdit
like this ( line 1660 and next is 1670 )
do you understand ?
I'm afraid I still don't understand what you want...
If you want to draw line numbers in a text editor then I have already answered your question : use forum search with this phrase for instance "text editor line numbers" and you'll find several threads on the topic. Alternatively, as I have already suggested you can use existing libraries that provide such a widget out of the box or you can read the code of said libraries (or the IDEs I mentionned) and find out how they achieve that.
If you want something else then I just did not understand your previous posts (and I suspect I am not alone) so it would be good to reformulate your question so that we may understand it and thus be able to answer it.
Current Qt projects : QCodeEdit, RotiDeCode
I'm still having a really hard time trying to understand what the question is.
A detailed description in words detailing what you're trying to achieve would be really awesome. If this never happens then no one's going to be able to help you with your problem.
Actually this reminds me of a Danger Mouse DVD where the narrator was rambling on between episodes talking about random stuff and how he was going to show us how to make on of "these". Mind you only the DM logo was on screen leaving an aire of mystery about the whole thing.
yes I want text editor line numbers..
I have the notepad and can you do this for me.. because is very important . please
My time too! So you won't find here anyone who will do your work for you. You simply want line numbers in your editor, so have a look into the sources of the previous mentioned applications.
If you have written the code of your attached file by yourself, you should be able to understand how to get line numbers....
kjiu, please read this:
How to ask questions the smart way
this is the funniest thread i've read in my entire lifethat convert "r" into "a" line deserves a "QT Centre smartest line" award..thank you guys and kuju, please mk ur problem VERY clear the very first time..ev1's time is impt!! but this was worthed
![]()
Bookmarks