Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Unexpected behavior with synchronize scrolling
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Guy Rouillier  
View profile  
 More options May 4, 5:09 pm
From: Guy Rouillier <guyr-...@burntmail.com>
Date: Mon, 04 May 2009 17:09:38 -0400
Local: Mon, May 4 2009 5:09 pm
Subject: Unexpected behavior with synchronize scrolling
I have files A and B, and a file C which is a concatenation of A+B.  I
wanted to make sure that Windows concatenated these properly, so I
brought up A and C in TSE in vertical split mode (ctrl-o-v).

I turned on synchronize scrolling (ctrl-o-y), then with the cursor in
file A, told TSE to go to the bottom of the file (ctrl-pgdn).  That sent
the cursor bar for file A to the bottom of that file - line 682, as
expected.

However, it also sent the cursor bar for file C to the bottom of *that*
file - line 903.  That doesn't seem right to me.  Since synchronize
scrolling is turned on, shouldn't file C have also scrolled to line 682,
just like file A?

Thanks.

--
Guy Rouillier


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Wagner  
View profile  
 More options May 4, 5:20 pm
From: Scott Wagner <scott.c.wag...@gmail.com>
Date: Mon, 4 May 2009 17:20:03 -0400
Local: Mon, May 4 2009 5:20 pm
Subject: Re: [TSE] Unexpected behavior with synchronize scrolling

Philosophically, the behavior seems correct because it synchronized the "go
to bottom of file" command.  If you wanted it to go down 682 lines on each
pane, then I would have expected that [Down][CtrlQ][Q] then telling it 681
times to repeat would take you to line 682 of both files.
- Scott

On Mon, May 4, 2009 at 5:09 PM, Guy Rouillier <guyr-...@burntmail.com>wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hayes Smith  
View profile  
 More options May 4, 6:08 pm
From: "Hayes Smith" <hayes_sm...@hotmail.com>
Date: Mon, 4 May 2009 17:08:53 -0500
Local: Mon, May 4 2009 6:08 pm
Subject: Re: [TSE] Unexpected behavior with synchronize scrolling

                if Query(Key) in <Ctrl PgDn>, <Ctrl PgUp>, <Ctrl Home>, <Ctrl End>

If you look at this line in the source of synchscr.s, notice that the commands for these keys are not considered 'scrolling' keys, but are acted on literally. You can probably make a few changes in this section so it does what you want.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hayes Smith  
View profile  
 More options May 4, 6:24 pm
From: "Hayes Smith" <hayes_sm...@hotmail.com>
Date: Mon, 4 May 2009 17:24:05 -0500
Local: Mon, May 4 2009 6:24 pm
Subject: Re: [TSE] Unexpected behavior with synchronize scrolling

As for why, think of it the other way. Say you were in file C and chose to go to the end of the file, and C was synchronized to A, but A was a shorter file, if you tied the synch scrolling absolutely, then you could never go to the end of file C as long as the two files were synchronized.

Just a guess.

------------------------------------------

However, it also sent the cursor bar for file C to the bottom of *that*
file - line 903.  That doesn't seem right to me.  Since synchronize
scrolling is turned on, shouldn't file C have also scrolled to line 682,
just like file A?

Thanks.

--
Guy Rouillier

  Emoticon1.gif
< 1K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google