Login  Register

Re: request for improvements in GTInspector or debugger

Posted by demarey on Aug 12, 2016; 7:23am
URL: https://forum.world.st/request-for-improvements-in-GTInspector-or-debugger-tp4910232p4910625.html

Hi Doru,

Will the new presentation be the default one?
If the new presentation will not be the default presentation for a String, it won’t be useful as we can already use the raw presentation.

> Le 12 août 2016 à 06:22, Tudor Girba <[hidden email]> a écrit :
>
> Hi,
>
> Nice one.
>
> But, I do not want to change the default text presentation. Instead I would add another presentation. We can call it pharoText. Could you please open an issue for this?
>
> Doru
>
>
>> On Aug 11, 2016, at 2:12 PM, Nicolai Hess <[hidden email]> wrote:
>>
>>
>>
>> 2016-08-11 13:44 GMT+02:00 Christophe Demarey <[hidden email]>:
>> Hi,
>>
>>> Le 10 août 2016 à 14:11, Tudor Girba <[hidden email]> a écrit :
>>>
>>> Hi Stef,
>>>
>>> I agree with what you say in this mail, and I am not sure where this is not the case.
>>
>>
>> By example, it is not available in a String presentation of GTInspector. This one always forces me to go to the raw presentation and use the comment.
>> Would it be possible to use global shortcuts in String presentation (cmd+B, cmd+M, cmd+N, etc.)?
>>
>> Christophe
>>
>>
>> You could change
>> GLMMorphicRubricTextRenderer>>#morph to act with smalltalk comment mode
>>
>> morph
>>    ^ RubScrolledTextMorph new
>>        getSelectionSelector: #primarySelectionInterval;
>>        color: Smalltalk ui theme backgroundColor;
>>        textColor: Smalltalk ui theme  textColor;
>>        textFont: StandardFonts defaultFont;
>>        model: textModel;
>>        beForSmalltalkComment;
>>        yourself.
>>
>>
>> This way, it behaves like the comment pane in Nautilus, it renders the text as "text" with the default font, no menu, but allows the common code mode shortcuts
>> cmd+b cmd+M, ( and some that doesn't make sense for every selection, like cmd+i for inspect).
>>
>>
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "Quality cannot be an afterthought."
>
>