Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, January 2008
text editor with custom features


Message 1 in thread

hello,

give me some pointers on how to make a simple text editor with:
o current line highlighter
o line numbers at right or left

last priority but desirable
o probably some faster syntax highlighting

thanks

--
 [ signature omitted ] 

Message 2 in thread

Look at the QT provided examples...

Scott

> -----Original Message-----
> From: Yong Taro [mailto:yanicher@xxxxxxxxx]
> Sent: Monday, January 07, 2008 5:22 AM
> To: Qt Interest List
> Subject: text editor with custom features
> 
> hello,
> 
> give me some pointers on how to make a simple text editor with:
> o current line highlighter
> o line numbers at right or left
> 
> last priority but desirable
> o probably some faster syntax highlighting
> 
> thanks
> 
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/

--
 [ signature omitted ] 

Message 3 in thread

Sorry I can't seem to find any of what I'm looking for, except syntax 
highlight.
In practice the syntax highlighting is kind of slow on files, that is 
why I was asking for hints to make it more acceptable in terms of speed.

thanks

Scott Aron Bloom wrote:
> Look at the QT provided examples...
>
> Scott
>
>   
>> -----Original Message-----
>> From: Yong Taro [mailto:yanicher@xxxxxxxxx]
>> Sent: Monday, January 07, 2008 5:22 AM
>> To: Qt Interest List
>> Subject: text editor with custom features
>>
>> hello,
>>
>> give me some pointers on how to make a simple text editor with:
>> o current line highlighter
>> o line numbers at right or left
>>
>> last priority but desirable
>> o probably some faster syntax highlighting
>>
>> thanks
>>
>> --
>> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
>> "unsubscribe" in the subject or the body.
>> List archive and information: http://lists.trolltech.com/qt-interest/
>>     
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
>   

--
 [ signature omitted ] 

Message 4 in thread

hi,

just came to me this, probably it will be good if trolls will extend or 
make more powerful current QTextEdit so it can be used as a
simple text editor, or if one needs to inherit and make fully custom by 
reimplementing proctected metdos.

Why there is a lack in features:
1. have seen many struggling to add them in different ways: qtscntilla, 
QsvEditorBeta, some apps from KDE, any many more to come.
2. there is this qt4-preview that has the coolest thing to come - fixed 
SSL and Webkit. In webkit there will be a need for a SGML
 editors, so to not provide them only for SGML, QTextEdit may be 
empowered to take care of that.

A powerful and practical editors seems to be an unfixed area as was till 
now the requests for a
web-rendering engine that can be smoothly used with QT, because all 
others were too messy, starting from
hard to support mozilla's srouce code to some less portable proprietary 
renderers.

By the way this will help to boost the entrance of the QT-tanks :) into 
the area of the office applications.
QTextEdit needs to be fast in parsing and highlighting, and very 
powerful when it needs to be customizable and extendable.



Yong Taro wrote:
> Sorry I can't seem to find any of what I'm looking for, except syntax 
> highlight.
> In practice the syntax highlighting is kind of slow on files, that is 
> why I was asking for hints to make it more acceptable in terms of speed.
>
> thanks
>
> Scott Aron Bloom wrote:
>> Look at the QT provided examples...
>>
>> Scott
>>
>>  
>>> -----Original Message-----
>>> From: Yong Taro [mailto:yanicher@xxxxxxxxx]
>>> Sent: Monday, January 07, 2008 5:22 AM
>>> To: Qt Interest List
>>> Subject: text editor with custom features
>>>
>>> hello,
>>>
>>> give me some pointers on how to make a simple text editor with:
>>> o current line highlighter
>>> o line numbers at right or left
>>>
>>> last priority but desirable
>>> o probably some faster syntax highlighting
>>>
>>> thanks
>>>
>>> -- 
>>> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
>>> "unsubscribe" in the subject or the body.
>>> List archive and information: http://lists.trolltech.com/qt-interest/
>>>     
>>
>> -- 
>> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx 
>> with "unsubscribe" in the subject or the body.
>> List archive and information: http://lists.trolltech.com/qt-interest/
>>
>>
>>   
>
>

--
 [ signature omitted ] 

Message 5 in thread

But QT is not an application.. it's a framework.

And QTextEdit is supposed to be lightweight... It was much lighter
weight in QT 3.. but I digress.

To me, having a text editor that can be embedded into dialogs and into
QMainWindow's is great... If I want a true Editor, with line numbers and
such, I figure I'm on my own, and I may or may not use the provided
classes as a base.

Scot
> -----Original Message-----
> From: Yong Taro [mailto:yanicher@xxxxxxxxx]
> Sent: Tuesday, January 08, 2008 10:07 AM
> To: Qt Interest List
> Subject: Re: text editor with custom features
> 
> hi,
> 
> just came to me this, probably it will be good if trolls will extend
or
> make more powerful current QTextEdit so it can be used as a
> simple text editor, or if one needs to inherit and make fully custom
by
> reimplementing proctected metdos.
> 
> Why there is a lack in features:
> 1. have seen many struggling to add them in different ways:
qtscntilla,
> QsvEditorBeta, some apps from KDE, any many more to come.
> 2. there is this qt4-preview that has the coolest thing to come -
fixed
> SSL and Webkit. In webkit there will be a need for a SGML
>  editors, so to not provide them only for SGML, QTextEdit may be
> empowered to take care of that.
> 
> A powerful and practical editors seems to be an unfixed area as was
till
> now the requests for a
> web-rendering engine that can be smoothly used with QT, because all
> others were too messy, starting from
> hard to support mozilla's srouce code to some less portable
proprietary
> renderers.
> 
> By the way this will help to boost the entrance of the QT-tanks :)
into
> the area of the office applications.
> QTextEdit needs to be fast in parsing and highlighting, and very
> powerful when it needs to be customizable and extendable.
> 
> 
> 
> Yong Taro wrote:
> > Sorry I can't seem to find any of what I'm looking for, except
syntax
> > highlight.
> > In practice the syntax highlighting is kind of slow on files, that
is
> > why I was asking for hints to make it more acceptable in terms of
speed.
> >
> > thanks
> >
> > Scott Aron Bloom wrote:
> >> Look at the QT provided examples...
> >>
> >> Scott
> >>
> >>
> >>> -----Original Message-----
> >>> From: Yong Taro [mailto:yanicher@xxxxxxxxx]
> >>> Sent: Monday, January 07, 2008 5:22 AM
> >>> To: Qt Interest List
> >>> Subject: text editor with custom features
> >>>
> >>> hello,
> >>>
> >>> give me some pointers on how to make a simple text editor with:
> >>> o current line highlighter
> >>> o line numbers at right or left
> >>>
> >>> last priority but desirable
> >>> o probably some faster syntax highlighting
> >>>
> >>> thanks
> >>>
> >>> --
> >>> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx
with
> >>> "unsubscribe" in the subject or the body.
> >>> List archive and information:
http://lists.trolltech.com/qt-interest/
> >>>
> >>
> >> --
> >> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx
> >> with "unsubscribe" in the subject or the body.
> >> List archive and information:
http://lists.trolltech.com/qt-interest/
> >>
> >>
> >>
> >
> >
> 
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/

--
 [ signature omitted ]