Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / May 2004

Tip: Looking for answers? Try searching our database.

Enter key malfunction

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lloyd Sheen - 10 May 2004 16:39 GMT
Another one.  I go to the beginning of a line (VB.NET).  Click enter, a new
line is created but the cursor goes to the next line 2 chars from the
beginning.

Tab setting are - Smart, size 2, indent 2, keep tabs.

You should be able to insert several lines just by ENTER/ENTER etc.  But
this screws up the text.

I have reinstalled about 5 times so that is not an option.

Lloyd Sheen
Jeff Johnson [MVP: VB] - 10 May 2004 18:21 GMT
> Another one.  I go to the beginning of a line (VB.NET).  Click enter, a new
> line is created but the cursor goes to the next line 2 chars from the
[quoted text clipped - 6 lines]
>
> I have reinstalled about 5 times so that is not an option.

Perhaps it's different for me because I never use "keep tabs," but it's been
my experience that if you leave a line blank in VB the IDE will remove the
spaces that it put there during auto indenting.
Lloyd Sheen - 10 May 2004 18:52 GMT
The problem is that lets say the following is the code:

   SaveFileDialog1.InitialDirectory =
Path.GetDirectoryName(Application.ExecutablePath)
   SaveFileDialog1.Filter = "SQL Documents (*.sql)|*.sql|All Documents
(*.*)|*.*"

Now I put the cursor at the first char ("S") of the first line.  I click
ENTER and it inserts the blank line and puts the cursor before the "v" in
what was the first line (now the second line).  If I want to insert several
blank lines I will end up with

   Sa
   veFileDialog1.InitialDirectory =
Path.GetDirectoryName(Application.ExecutablePath)
   SaveFileDialog1.Filter = "SQL Documents (*.sql)|*.sql|All Documents
(*.*)|*.*"

Lloyd Sheen

> > Another one.  I go to the beginning of a line (VB.NET).  Click enter, a
> new
[quoted text clipped - 11 lines]
> my experience that if you leave a line blank in VB the IDE will remove the
> spaces that it put there during auto indenting.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.