473,493 Members | 2,245 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Text editing annoyance

For some reason, using Ctrl-leftarrow or Ctrl-rightarrow does not move the
cursor in VS2005. Opening the same VB file in Notepad, this function works by
skipping (or reverse skipping) to the next word.

Is this the way it's supposed to work, or have I mangled some option?

Thanks, Flomo
Mar 8 '07 #1
13 1406
Yep, Ctrl-left/right work for me. What language do you have configured, C#,
VB.NET?

--
Browse http://connect.microsoft.com/VisualStudio/feedback/ and vote.
http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#
"Flomo Togba Kwele" wrote:
For some reason, using Ctrl-leftarrow or Ctrl-rightarrow does not move the
cursor in VS2005. Opening the same VB file in Notepad, this function works by
skipping (or reverse skipping) to the next word.

Is this the way it's supposed to work, or have I mangled some option?

Thanks, Flomo
Mar 8 '07 #2
VB
Mar 8 '07 #3
Hi Flomo,

There is an option in Tool|Options| Enviroment | Keyboard:

Edit.wordNext
Edit.wordPrevious

For example:
1.Open Option Dialog by Tool|Options.
2.Select Enviroment | Keyboard node
3.Type "Edit.WordNext" in "Show Command Containing" Textbox.
4.Select "Text Editor" item in "Use new shortcut in" list box
5.Press Ctrl + Right key in "Press shortcut keys" box.
6.At last, click "Assign" and "OK" to close the dialog.

Additionally, you can reset all shortcut keys to default by
1.Select "Default" item in the "Apply the following additional keyboard
mapping scheme:" list box
2.Click "Reset" button to reset all shortcut keys.

Please feel free to let me know if you have anything unclear.
Have a great day,
Sincerely,
Wen Yuan

Mar 8 '07 #4
Wen Yuan,

That was perfect! This "small" item makes a big difference. I reset to default.
I don't know how I changed this to screw it up.

Flomo
Mar 8 '07 #5
Wen,

I've got another one which might be similar. When I'm typing into the IDE code
window, many times the item I type in does not change its case to match the
original. For example, I typed:

orelse

expecting it to reformat to OrElse, but it remained as I typed. This also
happens on types I define. The reformatting used to occur after I typed CR/LF
to a line which compiles OK. But now it does not, a little annyoing.
Mar 8 '07 #6
Hi Flomo,

I think what you mentioned is "Pretty Listing (reformatting) of code"
option.
You can get it by Tools| Options| Text Editor| Basic| VB Specific|
Check the check box named "Pretty Listing (reformatting) of code".

Additionally, another way, you can approach this by pressing Ctrl+K and
then Ctrl+D (default setting)
This is the shortcut for "Edit.FormatDocument".
Tools| Options| Environment| Keyboard.

Hope this helps,
Sincerely,
Wen Yuan

Mar 9 '07 #7
Hi Flomo,

Just want to check whether you have any further issues.
Please fell free to let me know if you have anything unclear.
I'm glad to assist you.

Have a great day,
Sincerely,
Wen Yuan

Mar 13 '07 #8
Wen Yuan,

The Pretty Listing setting keeps on resetting itself to off. I set it about 2
or 3 times a day, but it turns itself off.

Any ideas?

Thanks, Flomo

In article <5D*************@TK2MSFTNGHUB02.phx.gbl>, v-
wy****@online.microsoft.com says...
Hi Flomo,

I think what you mentioned is "Pretty Listing (reformatting) of code"
option.
You can get it by Tools| Options| Text Editor| Basic| VB Specific|
Check the check box named "Pretty Listing (reformatting) of code".

Additionally, another way, you can approach this by pressing Ctrl+K and
then Ctrl+D (default setting)
This is the shortcut for "Edit.FormatDocument".
Tools| Options| Environment| Keyboard.

Hope this helps,
Sincerely,
Wen Yuan

Mar 14 '07 #9
Hi Flomo,

As far as I know, VS will not automatically turn this setting off.
Have you installed any add-in on your Visual Studio 2005?

Have a great day,
Sincerely,
Wen Yuan

Mar 14 '07 #10
Hi Flomo,

Have you resolved this issue?
Please don't hesistate to update here if there is anything we can help with.

Have a great weekend,
Sincerely,
Wen Yuan

Mar 16 '07 #11
Wen,

Periodically the IDE (or something else) turns off the Pretty Listing checkbox.
Under Add-Ins, I have nothing. But CodeSmith and CodeSmith Explorer are items
which show under the Tools menu.

Also, I cannot get a newly added Token to remain in the Task List under the
Environment section across invocations of the IDE.

Flomo
Mar 20 '07 #12
Hi Flomo,

When is "Pretty Listing" Checkbox turn off? Is it each time you start
Visual Studio or open VB.net Project?

If you haven't installed any add-in on visual studio. You may check whether
you using team settings file in your Visual Studio. The setting files will
be loaded each time staring Visual Studio.

Click "Tools|Options"
Expand Environment node and select Import and Export Settings.
Uncheck "use team settings file" option

Such as : http://msdn2.microsoft.com/en-us/lib...tf(VS.80).aspx

Hope this helps,
Sincerely,
Wen Yuan

Mar 21 '07 #13
Hi Flomo

Is there anything we can help with?
Please feel free to update here and I'm glad to assist you.

Have a great weekend,
Sincerely,
Wen Yuan

Mar 23 '07 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
3460
by: Ed Suominen | last post by:
I'm thinking of implementing a real-time collaborative text editor in Python using Twisted. An initial plan is to use a Twisted PB server daemon that accepts user:password:file connections from...
36
72016
by: spence | last post by:
Hi All How do I make it so that when a user clicks in a search text field, the default entry (in this case "Search") is removed automatically - they are then faced with a blank search box and...
2
4241
by: NewBob | last post by:
Since Access automatically highlights all of the text in a text control (I use it to hold data from a memo field) when the control is activated, I've added the following code to put the cursor at...
4
3971
by: Keith | last post by:
Hello - this started out as a minor annoyance - and now is starting to bother me more and more - I'm hoping someone can help me. I would like to have a combobox display - NOT initially be blank...
63
3885
by: John Salerno | last post by:
I know there's a request for a good IDE at least once a week on the ng, but hopefully this question is a little different. I'm looking for suggestions for a good cross-platform text editor (which...
31
1982
by: John Salerno | last post by:
Ok, I know it's been asked a million times, but I have a more specific question so hopefully this won't be just the same old post. I've tried a few different editors, and I really like UltraEdit,...
15
4653
by: lbrtchx | last post by:
I am trying to write up a page with Math formulas (statistical ones) ~ http://www.geocities.com/tekmonk2005/OnLineStats02.html ~ The thing is that I am not able to make it look OK using HTML. I...
7
2598
prn
by: prn | last post by:
Hi folks, Sometime in the last few days, I must have accidentally done something that changed some kind of switch in Access, but I can't seem to find what it was. This is Access 2003 under XP,...
4
5551
by: Finn Stampe Mikkelsen | last post by:
Hi Is there any way to make the textbox property show html, like a textarea on a webpage would?? I have a webapplication that saves an textarea complete with html tags and everything... ...
0
7119
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6989
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6873
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7367
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5453
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4889
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4579
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
285
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.