Inadvertent code line highlighting

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
FrankC
Posts: 126
Joined: Thu Aug 18, 2011 3:28 pm

Inadvertent code line highlighting

Post by FrankC »

Inadvertently, through a key combination that I cannot reproduce, a code line was highlighted:

Image

How do I get rid of it, and how does this feature work?
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Inadvertent code line highlighting

Post by Aivars »

It's a bookmark :) Ctrl + Shift + 0-9 to toggle it, Ctrl + 0-9 to jump to it (or from main menu Search -> Toggle Bookmarks and Goto Bookmarks). I use the bookmarks all the time while coding, so that I can jump quickly between the sections I'm working on :)
Blumentals Software Programmer
FrankC
Posts: 126
Joined: Thu Aug 18, 2011 3:28 pm

Re: Inadvertent code line highlighting

Post by FrankC »

Cool, I could use that! :) But are you sure that Ctr+n is the key combination to jump to the bookmark? Toggling with Ctrl+Shift+n goes well, but nothing happens when I scroll up/down and press Ctrl+n? Not even when I scroll up/down and put the cursor there?
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Inadvertent code line highlighting

Post by Aivars »

Pretty sure, unless you've defined they combination to be used for something else.
Blumentals Software Programmer
FrankC
Posts: 126
Joined: Thu Aug 18, 2011 3:28 pm

Re: Inadvertent code line highlighting

Post by FrankC »

You're right. I indeed did assign a number of Ctrl+n combinations to other functions. There are still a few original though, which work fine. :)
Post Reply