Re: selection bug

From: matt neuburg (matt_at_tidbits.com)
Date: 06/25/04

  • Next message: Rajesh Kannivadi: "Re: Word XP/2000 Same Macro with different result"
    Date: Fri, 25 Jun 2004 18:11:00 GMT
    
    

    JE McGimpsey <jemcgimpsey@mvps.org> wrote:

    > In article <1gfxggd.16jfhiz1j389aeN%matt@tidbits.com>,
    > matt@tidbits.com (matt neuburg) wrote:
    >
    > > I think you're missing the point, but that's okay. m.
    >
    > Well, I tried 35 or so times using your procedure, with the "When
    > selecting, select entire word" checkbox checked, and the entire sentence
    > was selected every time.
    >
    > The only way I can replicate the behavior you cite is to have the
    > checkbox unchecked. When it is unchecked, the behavior is exactly as you
    > describe, including the momentary selection of the entire word
    > "defenestration", then the collapse of the selection back to the
    > insertion point.
    >
    > I get *exactly* the same results in Word 98, Word 2001, and Word v.X.
    >
    > Rather than being a bug in Word 2004, selection under the scenario you
    > present is consistent with both the Preferences and previous version's
    > behavior.
    >
    > Was there a different point you were trying to make?

    Shift clicking is supposed to mean "extend the selection by the same
    kind of unit that formed the initial selection." For example,
    command-click to select a sentence, then shift-click in the next
    sentence: the *whole* sentence is selected. That's because you are now
    selecting by sentence, and shift-clicking extends by sentence.
    Similarly, triple-click to select a paragraph, then shift-click in the
    next paragraph: the *whole* paragraph is selected. That's because you
    are now selecting by paragraph, and shift-clicking extends by paragraph.

    Selection by word should work the same way. This should not depend upon
    the "select entire word" setting. Double-click means select a word, and
    now shift-clicking in a later word should select that entire word, by
    analogy with the above.

    If previous versions behaved the same way, then they had the same bug.
    m.

    -- 
    matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/
    AppleScript: The Definitive Guide
    http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt
    Read TidBITS! It's free and smart. http://www.tidbits.com
    

  • Next message: Rajesh Kannivadi: "Re: Word XP/2000 Same Macro with different result"

    Relevant Pages

    • Re: Help With Code
      ... am I correct if I would say you use Dim ... object (like the name of a paragraph style in your document)? ... > Greg Maxey/Word MVP ... >>> which may lead beginners to stick to the selection. ...
      (microsoft.public.word.vba.general)
    • Re: Moving Styles in a script
      ... Word already has a way to apply styles to the selection. ... your add-in. ... or the selected paragraph will be formatted other than as ... clikcs on a toolbar button which initiates the macro. ...
      (microsoft.public.word.formatting.longdocs)
    • Re. Module Comments
      ... comment between Sub or Function, ... to divide a written paragraph into lines of adequate length. ... 'cursor after the last character of the selection ... 'selection of the first character in the line ...
      (microsoft.public.excel.programming)
    • Re: Hundreds of styles
      ... happens is that you inadvertently apply a paragraph style to a selected ... either the whole paragraph selected or the selection collapsed to a point, ... >>Microsoft MVP ... >>> these styles are NOT in the template. ...
      (microsoft.public.word.customization.menustoolbars)
    • Re: Delete single newline between tables
      ... The tool requires a selection prior to performing certain operations. ... Dim myPara as Paragraph ... For Each myPara in ActiveDocument.Paragraphs ... only drawback is that it can be a bit slow evaluating every paragraph in the ...
      (microsoft.public.word.vba.general)