[squeak-dev] Known bug with text editor and scroll ?

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

[squeak-dev] Known bug with text editor and scroll ?

Mariano Martinez Peck
Hi people: I am having a problem and I think is a known bug but I want to be sure. Sometimes, not very often, I have a method that is bigger (vertically speaking) than the editor inside the class browser. I mean, the whole method cannot be see in the edit but a vertical scroll appear. I want to select text, using shift and down narrow for example, and go to the end of the method. The scroll should move and the editor should show the end of the method, but it doesn't happen. The visible part of the method doesn't change. However, it does select all the text (the one is down, I can see it).

Please, don't answer me "this is a feature. You must extract something to another method"  because this is not ALWAYS true just sometimes.

Thanks for the help,

Mariano




Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Known bug with text editor and scroll ?

Steve Wart
Please log a bug. If you have some better ideas about how text editing should work please make a detailed proposal and work with the developers to understand possible side-effects and how to avoid them.
 
The Mantis wiki page is here - I'm not sure if Pharo has a different tracking system but I'm sure someone will be working on a coordination mechanism (maybe we should log that as a bug too)
 
 
Steve

On Tue, Feb 24, 2009 at 4:51 PM, Mariano Martinez Peck <[hidden email]> wrote:
Hi people: I am having a problem and I think is a known bug but I want to be sure. Sometimes, not very often, I have a method that is bigger (vertically speaking) than the editor inside the class browser. I mean, the whole method cannot be see in the edit but a vertical scroll appear. I want to select text, using shift and down narrow for example, and go to the end of the method. The scroll should move and the editor should show the end of the method, but it doesn't happen. The visible part of the method doesn't change. However, it does select all the text (the one is down, I can see it).

Please, don't answer me "this is a feature. You must extract something to another method"  because this is not ALWAYS true just sometimes.

Thanks for the help,

Mariano








Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Known bug with text editor and scroll ?

Mariano Martinez Peck
Thanks for the help Steve. I look in mantis bugs and I found exactly the same bug I was going to report. I noticed it was fixed and a .cs attached. I tried it and work like a charm.

http://bugs.squeak.org/view.php?id=5637

So, now, the question is....will this .cs be included in future squeak images ? I mean, how is the process for the bug fixes ? when are the fixes put in the images ?

thanks for the help.

Mariano

On Wed, Feb 25, 2009 at 12:11 AM, Steve Wart <[hidden email]> wrote:
Please log a bug. If you have some better ideas about how text editing should work please make a detailed proposal and work with the developers to understand possible side-effects and how to avoid them.
 
The Mantis wiki page is here - I'm not sure if Pharo has a different tracking system but I'm sure someone will be working on a coordination mechanism (maybe we should log that as a bug too)
 
 
Steve

On Tue, Feb 24, 2009 at 4:51 PM, Mariano Martinez Peck <[hidden email]> wrote:
Hi people: I am having a problem and I think is a known bug but I want to be sure. Sometimes, not very often, I have a method that is bigger (vertically speaking) than the editor inside the class browser. I mean, the whole method cannot be see in the edit but a vertical scroll appear. I want to select text, using shift and down narrow for example, and go to the end of the method. The scroll should move and the editor should show the end of the method, but it doesn't happen. The visible part of the method doesn't change. However, it does select all the text (the one is down, I can see it).

Please, don't answer me "this is a feature. You must extract something to another method"  because this is not ALWAYS true just sometimes.

Thanks for the help,

Mariano












Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Known bug with text editor and scroll ?

Steve Wart
Step by step instructions are here

http://www.nabble.com/-squeak-dev--Contributing-to-3.11%3A-Step-by-step-p22031393.html

Steve

On Tue, Feb 24, 2009 at 6:43 PM, Mariano Martinez Peck <[hidden email]> wrote:
Thanks for the help Steve. I look in mantis bugs and I found exactly the same bug I was going to report. I noticed it was fixed and a .cs attached. I tried it and work like a charm.

http://bugs.squeak.org/view.php?id=5637

So, now, the question is....will this .cs be included in future squeak images ? I mean, how is the process for the bug fixes ? when are the fixes put in the images ?

thanks for the help.

Mariano


On Wed, Feb 25, 2009 at 12:11 AM, Steve Wart <[hidden email]> wrote:
Please log a bug. If you have some better ideas about how text editing should work please make a detailed proposal and work with the developers to understand possible side-effects and how to avoid them.
 
The Mantis wiki page is here - I'm not sure if Pharo has a different tracking system but I'm sure someone will be working on a coordination mechanism (maybe we should log that as a bug too)
 
 
Steve

On Tue, Feb 24, 2009 at 4:51 PM, Mariano Martinez Peck <[hidden email]> wrote:
Hi people: I am having a problem and I think is a known bug but I want to be sure. Sometimes, not very often, I have a method that is bigger (vertically speaking) than the editor inside the class browser. I mean, the whole method cannot be see in the edit but a vertical scroll appear. I want to select text, using shift and down narrow for example, and go to the end of the method. The scroll should move and the editor should show the end of the method, but it doesn't happen. The visible part of the method doesn't change. However, it does select all the text (the one is down, I can see it).

Please, don't answer me "this is a feature. You must extract something to another method"  because this is not ALWAYS true just sometimes.

Thanks for the help,

Mariano
















Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Known bug with text editor and scroll ?

Mariano Martinez Peck
Thanks Steve for the help. I am doing step by step but I have a problem in step 3. I am trying to install the bug fix from installer like this:

Installer mantis bug: 5637  fix: 'PluggableTextMorph-scrollSelectionIntoView.1.cs'.

any ideas?

And have the following stacktrace:

MessageNotUnderstood: SmallInteger>>,
Proceed
Abandon
Debug
Create
SmallInteger(Object)>>doesNotUnderstand: #,
InstallerMantis>>maUrl
InstallerMantis>>maPage
InstallerMantis>>maFiles
InstallerMantis>>maStreamForFile:
InstallerMantis>>maThing:date:
InstallerMantis>>bug:fix:date:
InstallerMantis>>bug:fix:
UndefinedObject>>DoIt
Compiler>>evaluate:in:to:notifying:ifFail:logged:
[] in TextMorphForShoutEditor(ParagraphEditor)>>evaluateSelection {[rcvr class evaluatorClass new   evaluate: self selectionAsStream   in: ctxt...]}
BlockContext>>on:do:
TextMorphForShoutEditor(ParagraphEditor)>>evaluateSelection
TextMorphForShoutEditor(ParagraphEditor)>>doIt
[] in TextMorphForShoutEditor(ParagraphEditor)>>doIt: {[self doIt]}
TextMorphForShoutEditor(Controller)>>terminateAndInitializeAround:
TextMorphForShoutEditor(ParagraphEditor)>>doIt:
TextMorphForShoutEditor(ParagraphEditor)>>dispatchOnCharacter:with:
TextMorphForShoutEditor(TextMorphEditor)>>dispatchOnCharacter:with:
TextMorphForShoutEditor(ParagraphEditor)>>readKeyboard

SmallInteger(Object)>>doesNotUnderstand: #,
InstallerMantis>>maUrl
InstallerMantis>>maPage
InstallerMantis>>maFiles
InstallerMantis>>maStreamForFile:
InstallerMantis>>maThing:date:
InstallerMantis>>bug:fix:date:
InstallerMantis>>bug:fix:
UndefinedObject>>DoIt
Compiler>>evaluate:in:to:notifying:ifFail:logged:
[] in TextMorphForShoutEditor(ParagraphEditor)>>evaluateSelection {[rcvr class evaluatorClass new   evaluate: self selectionAsStream   in: ctxt...]}
BlockContext>>on:do:
TextMorphForShoutEditor(ParagraphEditor)>>evaluateSelection
TextMorphForShoutEditor(ParagraphEditor)>>doIt
[] in TextMorphForShoutEditor(ParagraphEditor)>>doIt: {[self doIt]}
TextMorphForShoutEditor(Controller)>>terminateAndInitializeAround:
TextMorphForShoutEditor(ParagraphEditor)>>doIt:
TextMorphForShoutEditor(ParagraphEditor)>>dispatchOnCharacter:with:
TextMorphForShoutEditor(TextMorphEditor)>>dispatchOnCharacter:with:
TextMorphForShoutEditor(ParagraphEditor)>>readKeyboard


On Wed, Feb 25, 2009 at 1:34 AM, Steve Wart <[hidden email]> wrote:
Step by step instructions are here

http://www.nabble.com/-squeak-dev--Contributing-to-3.11%3A-Step-by-step-p22031393.html

Steve


On Tue, Feb 24, 2009 at 6:43 PM, Mariano Martinez Peck <[hidden email]> wrote:
Thanks for the help Steve. I look in mantis bugs and I found exactly the same bug I was going to report. I noticed it was fixed and a .cs attached. I tried it and work like a charm.

http://bugs.squeak.org/view.php?id=5637

So, now, the question is....will this .cs be included in future squeak images ? I mean, how is the process for the bug fixes ? when are the fixes put in the images ?

thanks for the help.

Mariano


On Wed, Feb 25, 2009 at 12:11 AM, Steve Wart <[hidden email]> wrote:
Please log a bug. If you have some better ideas about how text editing should work please make a detailed proposal and work with the developers to understand possible side-effects and how to avoid them.
 
The Mantis wiki page is here - I'm not sure if Pharo has a different tracking system but I'm sure someone will be working on a coordination mechanism (maybe we should log that as a bug too)
 
 
Steve

On Tue, Feb 24, 2009 at 4:51 PM, Mariano Martinez Peck <[hidden email]> wrote:
Hi people: I am having a problem and I think is a known bug but I want to be sure. Sometimes, not very often, I have a method that is bigger (vertically speaking) than the editor inside the class browser. I mean, the whole method cannot be see in the edit but a vertical scroll appear. I want to select text, using shift and down narrow for example, and go to the end of the method. The scroll should move and the editor should show the end of the method, but it doesn't happen. The visible part of the method doesn't change. However, it does select all the text (the one is down, I can see it).

Please, don't answer me "this is a feature. You must extract something to another method"  because this is not ALWAYS true just sometimes.

Thanks for the help,

Mariano




















Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Known bug with text editor and scroll ?

Herbert König
In reply to this post by Mariano Martinez Peck
Hi Mariano,


MMP> but a vertical scroll appear. I want to select text, using shift
MMP> and down narrow for example, and go to the end of the method. The
MMP> scroll should move and the editor should show the end of the
MMP> method, but it doesn't happen. The visible part of the method

are you aware of World Menu, Help, command-Key help?

For me on Windoze and Squeak 3.8 pressing Alt + End jumps and scrolls
to the end of a lengthy method (which I had to create to try it :-))))
and Alt + A then selects the whole method.


Cheers,

Herbert                                        


Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-project] [squeak-dev] Known bug with text editor and scroll ?

Stéphane Ducasse
In reply to this post by Mariano Martinez Peck
if you want to get a chance that the bug/enh is integrated in pharo
read the pharo web page explaining how to report a bug in pharo
I do no thav einternet right now.

On Feb 25, 2009, at 3:43 AM, Mariano Martinez Peck wrote:

> Thanks for the help Steve. I look in mantis bugs and I found exactly  
> the same bug I was going to report. I noticed it was fixed and a .cs  
> attached. I tried it and work like a charm.
>
> http://bugs.squeak.org/view.php?id=5637
>
> So, now, the question is....will this .cs be included in future  
> squeak images ? I mean, how is the process for the bug fixes ? when  
> are the fixes put in the images ?
>
> thanks for the help.
>
> Mariano
>
> On Wed, Feb 25, 2009 at 12:11 AM, Steve Wart <[hidden email]>  
> wrote:
> Please log a bug. If you have some better ideas about how text  
> editing should work please make a detailed proposal and work with  
> the developers to understand possible side-effects and how to avoid  
> them.
>
> The Mantis wiki page is here - I'm not sure if Pharo has a different  
> tracking system but I'm sure someone will be working on a  
> coordination mechanism (maybe we should log that as a bug too)
>
> http://wiki.squeak.org/squeak/3860
>
> Steve
>
> On Tue, Feb 24, 2009 at 4:51 PM, Mariano Martinez Peck <[hidden email]
> > wrote:
> Hi people: I am having a problem and I think is a known bug but I  
> want to be sure. Sometimes, not very often, I have a method that is  
> bigger (vertically speaking) than the editor inside the class  
> browser. I mean, the whole method cannot be see in the edit but a  
> vertical scroll appear. I want to select text, using shift and down  
> narrow for example, and go to the end of the method. The scroll  
> should move and the editor should show the end of the method, but it  
> doesn't happen. The visible part of the method doesn't change.  
> However, it does select all the text (the one is down, I can see it).
>
> Please, don't answer me "this is a feature. You must extract  
> something to another method"  because this is not ALWAYS true just  
> sometimes.
>
> Thanks for the help,
>
> Mariano
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Known bug with text editor and scroll ?

keith1y
In reply to this post by Mariano Martinez Peck
Mariano Martinez Peck wrote:
> Thanks Steve for the help. I am doing step by step but I have a
> problem in step 3. I am trying to install the bug fix from installer
> like this:
>
> Installer mantis bug: 5637  fix:
> 'PluggableTextMorph-scrollSelectionIntoView.1.cs'.
>
> any ideas?
>
Hello, I cant reproduce this, so I think this might be because I have
updated Installer to a more recent edition.

Installer ss project: 'Installer';
        install: 'Installer-Core';
        install: 'Installer-Scripts';
        install: 'Installer-Formats'..
       
Keith

Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-project] [squeak-dev] Known bug with text editor and scroll ?

Marcus Denker
In reply to this post by Mariano Martinez Peck

On 25.02.2009, at 03:43, Mariano Martinez Peck wrote:

> Thanks for the help Steve. I look in mantis bugs and I found exactly  
> the same bug I was going to report. I noticed it was fixed and a .cs  
> attached. I tried it and work like a charm.
>
> http://bugs.squeak.org/view.php?id=5637
>
> So, now, the question is....will this .cs be included in future  
> squeak images ? I mean, how is the process for the bug fixes ? when  
> are the fixes put in the images ?

For Squeak, the only thing to note is that it has 1035 open reports,  
and not much activity to change that (even though 3.9 was handed over  
with just 230 or so open
reports...).

For Pharo, just add it to as a report to

        http://code.google.com/p/pharo/issues/list

and it will get dealed with soon.

        Marcus


--
Marcus Denker  --  [hidden email]
http://www.marcusdenker.de


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Known bug with text editor and scroll ?

Mariano Martinez Peck
In reply to this post by keith1y
Keith: I have updated and that error disappear, but now I have another trouble: It seems InstallerMantis is configured like for testing.

InstallerMantis  # maFiles is returning me

{'Join.1.cs'->'2211' . 'Join.4.cs'->'2404' . nil . 'Join-kph.2.mcz'->'2210' . nil . 'Join.2.cs'->'2212' . 'Join.3.cs'->'2213' . 'JoinTest.1.cs'->'2405' . 'Join-kph.1.mcz'->'2176' . nil}

Its looking for bug id: 4874 instead of the one I am telling 5637

Is this because InstallerMantis is configured for testing ? how can I change that ?

Thanks!

Mariano

On Wed, Feb 25, 2009 at 11:14 AM, Keith Hodges <[hidden email]> wrote:
Mariano Martinez Peck wrote:
> Thanks Steve for the help. I am doing step by step but I have a
> problem in step 3. I am trying to install the bug fix from installer
> like this:
>
> Installer mantis bug: 5637  fix:
> 'PluggableTextMorph-scrollSelectionIntoView.1.cs'.
>
> any ideas?
>
Hello, I cant reproduce this, so I think this might be because I have
updated Installer to a more recent edition.

Installer ss project: 'Installer';
       install: 'Installer-Core';
       install: 'Installer-Scripts';
       install: 'Installer-Formats'..

Keith