TxText model

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
78 messages Options
1234
Reply | Threaded
Open this post in threaded view
|

Re: TxText model

Nicolai Hess-3-2
Nice!

2016-04-06 12:18 GMT+02:00 Stephan Eggermont <[hidden email]>:
On 06-04-16 10:36, Nicolai Hess wrote:
In what use cases is this a problem ? (Paragraph and DisplayScanner have good support for justified text (left / right / center), indentation wrapping and (I don't know if this works in pharo anymore but squeak had) even filling text in arbitary shaped polygons ( that was pretty cool). And even for text of different size and with different emphasis.

|t1 t2 ball page|
page := Morph new.
page bounds: (100@100 corner: 300@300).
page color: Color gray.
t1 := TextMorph new.
t1 autoFit:false.
t1 bounds: (105@105 corner: 195@295).
t1 backgroundColor: Color white.
t1 occlusionsOnOff.
page addMorph: t1.
t2 := TextMorph new.
t2 autoFit: false.
t2 bounds: (205@105 corner: 295@295).
t2 backgroundColor: Color white.
t2 occlusionsOnOff.
page addMorph: t2.
t1 setSuccessor: t2.
t2 setPredecessor: t1.
ball := CircleMorph new.
ball bounds: (160@160 corner: 240@240).
page addMorph: ball.
page openInWorld

Reply | Threaded
Open this post in threaded view
|

Re: TxText model

Nicolai Hess-3-2
In reply to this post by Igor Stasenko


2016-04-06 10:56 GMT+02:00 Igor Stasenko <[hidden email]>:


On 6 April 2016 at 11:36, Nicolai Hess <[hidden email]> wrote:


Thanks Igor.
Maybe some more Info? (I don't have much experience with this and don't fully understand what is missing).
 
1. No support for vector graphics

I know some parts of Athens (with Cairo font renderer and how it is used in TxText) but at the moment
rendering a TextMorph in Athens works:
Morph comment asText asMorph openInSceneView

Sorry, missed to reply to that important point.
It works because one good soul spent effort and helped me to finish  implementation of a wrapper for Morph, to be able to render any morph into Form, and then render Form
on Athens surface.

Nah, actually it works a bit different. Many (Form)Canvas methods are reimplemented on Athens API. But yes, I used some hacks as well.
 
So, that is why it 'works' :)


--
Best regards,
Igor Stasenko.

Reply | Threaded
Open this post in threaded view
|

Re: TxText model

Igor Stasenko


On 6 April 2016 at 17:07, Nicolai Hess <[hidden email]> wrote:


2016-04-06 10:56 GMT+02:00 Igor Stasenko <[hidden email]>:


On 6 April 2016 at 11:36, Nicolai Hess <[hidden email]> wrote:


Thanks Igor.
Maybe some more Info? (I don't have much experience with this and don't fully understand what is missing).
 
1. No support for vector graphics

I know some parts of Athens (with Cairo font renderer and how it is used in TxText) but at the moment
rendering a TextMorph in Athens works:
Morph comment asText asMorph openInSceneView

Sorry, missed to reply to that important point.
It works because one good soul spent effort and helped me to finish  implementation of a wrapper for Morph, to be able to render any morph into Form, and then render Form
on Athens surface.

Nah, actually it works a bit different. Many (Form)Canvas methods are reimplemented on Athens API. But yes, I used some hacks as well.
 

Didn't knew.
Aha.. i see AthensCanvasWrapper. 
Ohh.. that's so much pain :)

 
So, that is why it 'works' :)


--
Best regards,
Igor Stasenko.




--
Best regards,
Igor Stasenko.
Reply | Threaded
Open this post in threaded view
|

Re: TxText model

Igor Stasenko
btw,

if you wanna feel a difference, why we wanted vector based rendering, by yourself, open:

Morph comment asText asMorph openInSceneView

and then

| sceneView view |
sceneView := AthensSceneView new.
view := TxAthensLayoutView on: Morph comment asTxModel extent: 400@400.

sceneView scene: view.
sceneView openInWindow 


and try zooming it in and out with mouse wheel.



On 6 April 2016 at 17:58, Igor Stasenko <[hidden email]> wrote:


On 6 April 2016 at 17:07, Nicolai Hess <[hidden email]> wrote:


2016-04-06 10:56 GMT+02:00 Igor Stasenko <[hidden email]>:


On 6 April 2016 at 11:36, Nicolai Hess <[hidden email]> wrote:


Thanks Igor.
Maybe some more Info? (I don't have much experience with this and don't fully understand what is missing).
 
1. No support for vector graphics

I know some parts of Athens (with Cairo font renderer and how it is used in TxText) but at the moment
rendering a TextMorph in Athens works:
Morph comment asText asMorph openInSceneView

Sorry, missed to reply to that important point.
It works because one good soul spent effort and helped me to finish  implementation of a wrapper for Morph, to be able to render any morph into Form, and then render Form
on Athens surface.

Nah, actually it works a bit different. Many (Form)Canvas methods are reimplemented on Athens API. But yes, I used some hacks as well.
 

Didn't knew.
Aha.. i see AthensCanvasWrapper. 
Ohh.. that's so much pain :)

 
So, that is why it 'works' :)


--
Best regards,
Igor Stasenko.




--
Best regards,
Igor Stasenko.



--
Best regards,
Igor Stasenko.
Reply | Threaded
Open this post in threaded view
|

Re: TxText model

Nicolai Hess-3-2


Am 06.04.2016 5:21 nachm. schrieb "Igor Stasenko" <[hidden email]>:
>
> btw,
>
> if you wanna feel a difference, why we wanted vector based rendering, by yourself, open:
>
> Morph comment asText asMorph openInSceneView
>
> and then
>
> | sceneView view |
> sceneView := AthensSceneView new.
> view := TxAthensLayoutView on: Morph comment asTxModel extent: 400@400.
>
> sceneView scene: view.
> sceneView openInWindow 
>
>
> and try zooming it in and out with mouse wheel.
>
>

I know it's limitation. My point was, that it is not impossible, or depends an the model Text vs. TxModel, alone.

>
> On 6 April 2016 at 17:58, Igor Stasenko <[hidden email]> wrote:
>>
>>
>>
>> On 6 April 2016 at 17:07, Nicolai Hess <[hidden email]> wrote:
>>>
>>>
>>>
>>> 2016-04-06 10:56 GMT+02:00 Igor Stasenko <[hidden email]>:
>>>>
>>>>
>>>>
>>>> On 6 April 2016 at 11:36, Nicolai Hess <[hidden email]> wrote:
>>>>>
>>>>>
>>>>>
>>>>> Thanks Igor.
>>>>> Maybe some more Info? (I don't have much experience with this and don't fully understand what is missing).
>>>>>  
>>>>>>
>>>>>> 1. No support for vector graphics
>>>>>
>>>>>
>>>>> I know some parts of Athens (with Cairo font renderer and how it is used in TxText) but at the moment
>>>>> rendering a TextMorph in Athens works:
>>>>> Morph comment asText asMorph openInSceneView
>>>>
>>>>
>>>> Sorry, missed to reply to that important point.
>>>> It works because one good soul spent effort and helped me to finish  implementation of a wrapper for Morph, to be able to render any morph into Form, and then render Form
>>>> on Athens surface.
>>>
>>>
>>> Nah, actually it works a bit different. Many (Form)Canvas methods are reimplemented on Athens API. But yes, I used some hacks as well.
>>>  
>>
>>
>> Didn't knew.
>> Aha.. i see AthensCanvasWrapper. 
>> Ohh.. that's so much pain :)
>>
>>  
>>>>
>>>> So, that is why it 'works' :)
>>>>
>>>>
>>>> --
>>>> Best regards,
>>>> Igor Stasenko.
>>>
>>>
>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko.
>
>
>
>
> --
> Best regards,
> Igor Stasenko.

Reply | Threaded
Open this post in threaded view
|

Re: TxText model

Torsten Bergmann
In reply to this post by Igor Stasenko
Nice! I addd this as #example method to TxAthensLayoutView.
 
Gesendet: Mittwoch, 06. April 2016 um 17:20 Uhr
Von: "Igor Stasenko" <[hidden email]>
An: "Pharo Development List" <[hidden email]>
Betreff: Re: [Pharo-dev] TxText model
btw,
 
if you wanna feel a difference, why we wanted vector based rendering, by yourself, open:
 
Morph comment asText asMorph openInSceneView
 
and then
 
| sceneView view |
sceneView := AthensSceneView new.
view := TxAthensLayoutView on: Morph comment asTxModel extent: 400@400.
 
sceneView scene: view.
sceneView openInWindow 
 
 
and try zooming it in and out with mouse wheel.
 
 
 
On 6 April 2016 at 17:58, Igor Stasenko <siguctua@...> wrote:
 
 
On 6 April 2016 at 17:07, Nicolai Hess <nicolaihess@...> wrote:
 
 
2016-04-06 10:56 GMT+02:00 Igor Stasenko <siguctua@...>:
 
 
On 6 April 2016 at 11:36, Nicolai Hess <nicolaihess@...> wrote:
 
 
Thanks Igor.
Maybe some more Info? (I don't have much experience with this and don't fully understand what is missing).
 
 
1. No support for vector graphics
 
I know some parts of Athens (with Cairo font renderer and how it is used in TxText) but at the moment
rendering a TextMorph in Athens works:
Morph comment asText asMorph openInSceneView
 
Sorry, missed to reply to that important point.
It works because one good soul spent effort and helped me to finish  implementation of a wrapper for Morph, to be able to render any morph into Form, and then render Form
on Athens surface.
 
Nah, actually it works a bit different. Many (Form)Canvas methods are reimplemented on Athens API. But yes, I used some hacks as well.
 
 
Didn't knew.
Aha.. i see AthensCanvasWrapper. 
Ohh.. that's so much pain :)
 
 
So, that is why it 'works' :)
 
 
--
Best regards,
Igor Stasenko.
 
 
--
Best regards,
Igor Stasenko.
 
 
--
Best regards,
Igor Stasenko.
Reply | Threaded
Open this post in threaded view
|

Re: TxText model

Stephan Eggermont-3
In reply to this post by philippeback
On 06-04-16 11:13, [hidden email] wrote:
> Another pain is the styling of text where the only styler we have is
> the SHSt80Styler (class name out of my mind, need to check) and that's
> a huge pain to support other stylings.

Styling with different stylers worked in TextMorph. In Squeak it is easy
to add styling for a different language in the class browser. Levente did
that for PostgreSQLv3.

Stephan


Reply | Threaded
Open this post in threaded view
|

Re: TxText model

Igor Stasenko
In reply to this post by Nicolai Hess-3-2


On 6 April 2016 at 18:34, Nicolai Hess <[hidden email]> wrote:


Am 06.04.2016 5:21 nachm. schrieb "Igor Stasenko" <[hidden email]>:
>
> btw,
>
> if you wanna feel a difference, why we wanted vector based rendering, by yourself, open:
>
> Morph comment asText asMorph openInSceneView
>
> and then
>
> | sceneView view |
> sceneView := AthensSceneView new.
> view := TxAthensLayoutView on: Morph comment asTxModel extent: 400@400.
>
> sceneView scene: view.
> sceneView openInWindow 
>
>
> and try zooming it in and out with mouse wheel.
>
>

I know it's limitation. My point was, that it is not impossible, or depends an the model Text vs. TxModel, alone.

Of course it doesn't depends on either of those. But it wasn't an answer concerning model, but you question why i had to abandon idea to keep using DisplayScanner & friends. 


--
Best regards,
Igor Stasenko.
Reply | Threaded
Open this post in threaded view
|

Re: TxText model

philippeback
In reply to this post by Stephan Eggermont-3
Ok. Call me stupid but in Pharo I don't see how to do that easily.

Phil

On Wed, Apr 6, 2016 at 5:41 PM, Stephan Eggermont <[hidden email]> wrote:
On 06-04-16 11:13, [hidden email] wrote:
Another pain is the styling of text where the only styler we have is the SHSt80Styler (class name out of my mind, need to check) and that's a huge pain to support other stylings.

Styling with different stylers worked in TextMorph. In Squeak it is easy
to add styling for a different language in the class browser. Levente did
that for PostgreSQLv3.

Stephan



Reply | Threaded
Open this post in threaded view
|

Re: TxText model

Nicolai Hess-3-2
In reply to this post by Igor Stasenko


2016-04-06 18:00 GMT+02:00 Igor Stasenko <[hidden email]>:


On 6 April 2016 at 18:34, Nicolai Hess <[hidden email]> wrote:


Am 06.04.2016 5:21 nachm. schrieb "Igor Stasenko" <[hidden email]>:
>
> btw,
>
> if you wanna feel a difference, why we wanted vector based rendering, by yourself, open:
>
> Morph comment asText asMorph openInSceneView
>
> and then
>
> | sceneView view |
> sceneView := AthensSceneView new.
> view := TxAthensLayoutView on: Morph comment asTxModel extent: 400@400.
>
> sceneView scene: view.
> sceneView openInWindow 
>
>
> and try zooming it in and out with mouse wheel.
>
>

I know it's limitation. My point was, that it is not impossible, or depends an the model Text vs. TxModel, alone.

Of course it doesn't depends on either of those. But it wasn't an answer concerning model, but you question why i had to abandon idea to keep using DisplayScanner & friends. 

Sure, but as you talked about limitiations solved by TxText, I thought about limitation for building editor/tools around Text or TxText.
I see that you had rendering vector based graphics with TxText and Athens.
What I want to see, is a Text-Tool framework for building custom editors or easily add features (code tools or tools for other kinds of text).
Rubric comes close, it has some good features for  text decorations.
Twisty looks promisinig too, I like that it is build on similar classes like TxText but looks more finished.
(As it is based on TxText (or a fork) maybe it isn't that difficult to add rendering on athens ?)
 


--
Best regards,
Igor Stasenko.

Reply | Threaded
Open this post in threaded view
|

Re: TxText model

Igor Stasenko


On 6 April 2016 at 20:31, Nicolai Hess <[hidden email]> wrote:


2016-04-06 18:00 GMT+02:00 Igor Stasenko <[hidden email]>:


On 6 April 2016 at 18:34, Nicolai Hess <[hidden email]> wrote:


Am 06.04.2016 5:21 nachm. schrieb "Igor Stasenko" <[hidden email]>:
>
> btw,
>
> if you wanna feel a difference, why we wanted vector based rendering, by yourself, open:
>
> Morph comment asText asMorph openInSceneView
>
> and then
>
> | sceneView view |
> sceneView := AthensSceneView new.
> view := TxAthensLayoutView on: Morph comment asTxModel extent: 400@400.
>
> sceneView scene: view.
> sceneView openInWindow 
>
>
> and try zooming it in and out with mouse wheel.
>
>

I know it's limitation. My point was, that it is not impossible, or depends an the model Text vs. TxModel, alone.

Of course it doesn't depends on either of those. But it wasn't an answer concerning model, but you question why i had to abandon idea to keep using DisplayScanner & friends. 

Sure, but as you talked about limitiations solved by TxText, I thought about limitation for building editor/tools around Text or TxText.
I see that you had rendering vector based graphics with TxText and Athens.
What I want to see, is a Text-Tool framework for building custom editors or easily add features (code tools or tools for other kinds of text).
Rubric comes close, it has some good features for  text decorations.
Twisty looks promisinig too, I like that it is build on similar classes like TxText but looks more finished.
(As it is based on TxText (or a fork) maybe it isn't that difficult to add rendering on athens ?)
 

I payed attention to make things modular. 
Things like model, layout and view, and then text editor, forming layers and replaceable or close to it. 
As in snippet of code above, it demonstrates, that you can easily use just layout view, just for text rendering, without paying any attention to higher level things, like text editor,
events and UI.
Now try doing this with morphic TextMorph.
It is far from ideal, and missing a number of features. So, if you see how you can improved - feel free to do it.

  


--
Best regards,
Igor Stasenko.




--
Best regards,
Igor Stasenko.
Reply | Threaded
Open this post in threaded view
|

Re: TxText model

Sean P. DeNigris
Administrator
In reply to this post by Stephan Eggermont-3
What are the main problems with Text, Paragraph, ... and other old TextComponents?
And how are these solved with TxText?

Stephan Eggermont wrote
|t1 t2 ball page|
page := Morph new.
...
Yes, this example brackets the situation quite nicely. The current text system "makes hard things easy, and the easy things impossible". Text winding around little Morphic tubes, while the coolest thing ever, is rarely useful, but try changing the caret and you will end up in hell:

        [rant]I find the whole text system very confusing. What the heck does a paragraph know about insertion points?? A view has one paragraph object, even if there are several paragraphs (as understood by the rest of humanity as a block of text with breaks between the adjoining ones. Editors and Paragraphs are thrown out and replaced on a whim. I'm finding it very hard to understand and modify[/rant] [1]

        [rant]
        Of course, the instant I touched Paragraph/XxxEditor, and friends I got lost down the rabbit hole of incomprehensibility... like Paragraph, which draws the cursor and keeps track of the selection, obviously... not! wtf ?!

        Quick definition...
        paragraph |ˈparəˌgraf|
        noun
        a distinct section of a piece of writing, usually dealing with a single theme and indicated by a new line, indentation, or numbering.

        Where, tell me, does it say anything about cursors and selections??
        [/rant] [2]

1. http://forum.world.st/Customizing-the-Caret-of-a-PluggableTextMorph-tt4640245.html#a4641043
2. http://forum.world.st/Re-Vim-Keys-tt4657381.html#a4657594
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: TxText model

philippeback
I have two or three Moleskine books full of notes about all of this text stuff.
Still a maddening thing to deal with.

Especially when you send wrong things and the whole UI freezes all over.

Phil

On Wed, Apr 6, 2016 at 7:31 PM, Sean P. DeNigris <[hidden email]> wrote:

> What are the main problems with Text, Paragraph, ... and other old
> TextComponents?
> And how are these solved with TxText?
> Stephan Eggermont wrote
>> |t1 t2 ball page|
>> page := Morph new.
>> ...

Yes, this example brackets the situation quite nicely. The current text
system "makes hard things easy, and the easy things impossible". Text
winding around little Morphic tubes, while the coolest thing ever, is rarely
useful, but try changing the caret and you will end up in hell:

        [rant]I find the whole text system very confusing. What the heck does a
paragraph know about insertion points?? A view has one paragraph object,
even if there are several paragraphs (as understood by the rest of humanity
as a block of text with breaks between the adjoining ones. Editors and
Paragraphs are thrown out and replaced on a whim. I'm finding it very hard
to understand and modify[/rant] [1]

        [rant]
        Of course, the instant I touched Paragraph/XxxEditor, and friends I got
lost down the rabbit hole of incomprehensibility... like Paragraph, which
draws the cursor and keeps track of the selection, obviously... not! wtf ?!

        Quick definition...
        paragraph |ˈparəˌgraf|
        noun
        a distinct section of a piece of writing, usually dealing with a single
theme and indicated by a new line, indentation, or numbering.

        Where, tell me, does it say anything about cursors and selections??
        [/rant] [2]

1.
http://forum.world.st/Customizing-the-Caret-of-a-PluggableTextMorph-tt4640245.html#a4641043
2. http://forum.world.st/Re-Vim-Keys-tt4657381.html#a4657594



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/TxText-model-tp4888199p4888748.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.


Reply | Threaded
Open this post in threaded view
|

Re: TxText model

Nicolai Hess-3-2
In reply to this post by philippeback


2016-04-06 18:11 GMT+02:00 [hidden email] <[hidden email]>:
Ok. Call me stupid but in Pharo I don't see how to do that easily.

Phil

At least for Rubric, it can not be that difficult. I saw a GT-Inspector with a XML-styer
 

On Wed, Apr 6, 2016 at 5:41 PM, Stephan Eggermont <[hidden email]> wrote:
On 06-04-16 11:13, [hidden email] wrote:
Another pain is the styling of text where the only styler we have is the SHSt80Styler (class name out of my mind, need to check) and that's a huge pain to support other stylings.

Styling with different stylers worked in TextMorph. In Squeak it is easy
to add styling for a different language in the class browser. Levente did
that for PostgreSQLv3.

Stephan




Reply | Threaded
Open this post in threaded view
|

Re: TxText model

Henrik Nergaard

The only thing required for styling is to specify the attributes for the runs associated with the text.

A simple example:

 

| text attributes oldRuns clr|

 

text := (String loremIpsum: 1234) asText.

 

attributes := Array new: text size.

 

clr := TextColor color: Color random.

 

1 to: text size do: [ :index |

               attributes at: index put: {

                              clr.

                              TextFontChange font2   

               }.

              

               (text at: index) isSeparator ifTrue: [ clr := TextColor color: Color random ]

].

 

text runs: (RunArray newFrom: attributes).

 

text

 

 

Best regards,

Henrik

 

From: Pharo-dev [mailto:[hidden email]] On Behalf Of Nicolai Hess
Sent: Wednesday, April 6, 2016 8:23 PM
To: Pharo Development List <[hidden email]>
Subject: Re: [Pharo-dev] TxText model

 

 

 

2016-04-06 18:11 GMT+02:00 [hidden email] <[hidden email]>:

Ok. Call me stupid but in Pharo I don't see how to do that easily.

 

Phil

 

At least for Rubric, it can not be that difficult. I saw a GT-Inspector with a XML-styer

 

 

On Wed, Apr 6, 2016 at 5:41 PM, Stephan Eggermont <[hidden email]> wrote:

On 06-04-16 11:13, [hidden email] wrote:

Another pain is the styling of text where the only styler we have is the SHSt80Styler (class name out of my mind, need to check) and that's a huge pain to support other stylings.


Styling with different stylers worked in TextMorph. In Squeak it is easy
to add styling for a different language in the class browser. Levente did
that for PostgreSQLv3.

Stephan

 

 

Reply | Threaded
Open this post in threaded view
|

Re: TxText model

Denis Kudriashov
In reply to this post by Nicolai Hess-3-2

2016-04-06 19:31 GMT+02:00 Nicolai Hess <[hidden email]>:
(As it is based on TxText (or a fork) maybe it isn't that difficult to add rendering on athens ?)

It should be not difficult. In Twisty end rendering on canvas is just 1% of code (or less).
I plan to adopt it for Bloc. And for this I will need Athens. And I think Bloc will simplify it a bit. TwyTextMorph implements similar concept of Bloc design which can be used directly.
Reply | Threaded
Open this post in threaded view
|

Re: TxText model

Stephan Eggermont-3
In reply to this post by Sean P. DeNigris
On 06-04-16 19:31, Sean P. DeNigris wrote:

> [rant]I find the whole text system very confusing. What the heck does
> a paragraph know about insertion points?? A view has one paragraph
> object, even if there are several paragraphs (as understood by the
> rest of humanity as a block of text with breaks between the adjoining
> ones. Editors and Paragraphs are thrown out and replaced on a whim.
> I'm finding it very hard to understand and modify[/rant] [1] [rant] Of
> course, the instant I touched Paragraph/XxxEditor, and friends I got
> lost down the rabbit hole of incomprehensibility... like Paragraph,
> which draws the cursor and keeps track of the selection, obviously...
> not! wtf ?!

There is both a lot of inherent, as well as accidental complexity there.
Paragraph is obviously not such a good name for what it does, but at
least it has a clear comment saying what it's for. It seems the right place
to deal with the display parts of selection, though delegating that to a
separate class might clean up things a bit.
The number of things that are just broken is rather annoying
as is the lack of tests and examples.

Stephan



Reply | Threaded
Open this post in threaded view
|

Re: TxText model

Igor Stasenko
In reply to this post by Henrik Nergaard


On 6 April 2016 at 21:49, Henrik Nergaard <[hidden email]> wrote:

The only thing required for styling is to specify the attributes for the runs associated with the text.

A simple example:

 

| text attributes oldRuns clr|

 

text := (String loremIpsum: 1234) asText.

 

attributes := Array new: text size.

 

clr := TextColor color: Color random.

 

1 to: text size do: [ :index |

               attributes at: index put: {

                              clr.

                              TextFontChange font2   

               }.

              

               (text at: index) isSeparator ifTrue: [ clr := TextColor color: Color random ]

].

 

text runs: (RunArray newFrom: attributes).

 

text

 


Same for TxText:

| text selection |
text :=  (String loremIpsum: 1234) asTxModel.

selection := text newSelection.
"set font to whole text"
selection applyAttribute: (TxFontAttribute with: MyFont).

selection end moveToStart.
[ selection end isAtEnd ] whileFalse: [

selection end moveDown.

selection applyAttribute: (TxForeColorAttribute with: Color random).

selection start: selection end.
].

text editInWindow 


 

Best regards,

Henrik

 

From: Pharo-dev [mailto:[hidden email]] On Behalf Of Nicolai Hess
Sent: Wednesday, April 6, 2016 8:23 PM
To: Pharo Development List <[hidden email]>
Subject: Re: [Pharo-dev] TxText model

 

 

 

2016-04-06 18:11 GMT+02:00 [hidden email] <[hidden email]>:

Ok. Call me stupid but in Pharo I don't see how to do that easily.

 

Phil

 

At least for Rubric, it can not be that difficult. I saw a GT-Inspector with a XML-styer

 

 

On Wed, Apr 6, 2016 at 5:41 PM, Stephan Eggermont <[hidden email]> wrote:

On 06-04-16 11:13, [hidden email] wrote:

Another pain is the styling of text where the only styler we have is the SHSt80Styler (class name out of my mind, need to check) and that's a huge pain to support other stylings.


Styling with different stylers worked in TextMorph. In Squeak it is easy
to add styling for a different language in the class browser. Levente did
that for PostgreSQLv3.

Stephan

 

 




--
Best regards,
Igor Stasenko.
1234