View Single Post
  #4   Report Post  
Posted to microsoft.public.word.docmanagement
David David is offline
external usenet poster
 
Posts: 167
Default can I define character set for mouse word selection?



"Robert M. Franz [RMF]" wrote:

Hello David

David wrote:
Is there a way in Word (2003 preferred) to define the character set for
selection when I double click on text? For example, I'd like to include in
the character set the '_' character. I'd also like Word not to include the
trailing space if there is one.


I can't follow your problem description: do you want to add '_' to a
selected text? To _any_ selected text? Or do you want to copy the
section (say, to the Clipboard) and add something along?


I'd like to change the behavior of mouse clicks for selection. For example,
I want a double click anywhere on "this_needs_selection" if it were in the
text:

Blah blah blah blah this_needs_selection blah. Blah blah blah, blah blah blah.

and have the entire word selected without needing to drag the mouse. Some
context in case there's a completely different solution, I write a lot of
technical (computer related) documents and I like to use a different
format/style for strings that are path names, application names, etc. I
usually write a paragraph or two and then go back and change the format of
the technical items. To format the strings, I select the text and apply a
recorded macro that I assigned to a key (e.g., Alt-1). It would be much
easier if I could set the character set for selection on double click to
include just about anything except white space.

If there's a better way to do it I'm open to suggestions, but defining
character selection set seems like a very useful feature. I'm sure there's a
registry key I can set.

Thanks in advance for any suggestions.

David