CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2013
    Posts
    4

    Highlighting Problem in MS Visual C# 2010 Express

    Hi people.
    I have only recently started learning C-Sharp at home and am facing a really simple problem with the software I am using.
    When trying to edit an already written line of code, it gives a cursor problem.
    For example, when I click in the space between two letters to add something else, the cursor highlights the letter on the right of it and erases that letter whenever I try to make any changes instead of adding what I type alongside it.

    Like in the imageName:  problem.png
Views: 834
Size:  10.8 KB
    When I click on the space between 'i' and 'n' in int, it selects the 'n' and replaces it with the typed letter and then 't' gets replaces by some other letter which I type, and it goes on like that.

    Sorry if its a noob question or its in the wrong section.
    Any help will be appreciated.
    Attached Images Attached Images  

  2. #2
    Join Date
    Feb 2011
    Location
    United States
    Posts
    1,016

    Re: Highlighting Problem in MS Visual C# 2010 Express

    Sounds like you have insert turned off. Try pushing the 'insert' key on your keyboard to toggle insert mode back on. (N.B.: many programs support that sort of edit mode, not just VS, so you can possibly use this sort of functionality in other programs too).

    Hope that helps. Let us know if it does not.
    Best Regards,

    BioPhysEngr
    http://blog.biophysengr.net
    --
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

  3. #3
    Join Date
    Jan 2013
    Posts
    4

    Re: Highlighting Problem in MS Visual C# 2010 Express

    That works.
    Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured