Altium Designer Documentation

SetLocationMark

Created: July 27, 2015 | Updated: June 5, 2017
Now reading version 17.1. For the latest, read: SetLocationMark for version 21
Applies to Altium Designer versions: 15.1, 16.0, 16.1, 17.0, 17.1, 18.0, 18.1, 19.0, 19.1, 20.0, 20.1 and 20.2

Parent page: TextEdit Commands

The following pre-packaged resource, derived from this base command, is available:


Applied Parameters: Index=n (where n = 0-9)

Summary

This command is used to store the current location of the text cursor on the current document, into the chosen location marker. This can save you from having to scroll through pages of text to get back to a specific location, and is particularly useful when developing and debugging scripts.

Access

  • Right-click and choose Toggle Bookmarks » Set Location Mark n from the context menu.
  • Use the Shift+Ctrl+n keyboard shortcut.

Use

Simply position the cursor at the desired location and launch the command. The location will be stored in the chosen location marker and a corresponding entry will appear in the left margin area - for example  for Location Marker 1. This acts as a reminder as to the line in which the marker has been set.

Tips

  1. The stored location is only available while the document remains open (active or not). If the document is closed and opened again, the location marker will be empty.
  2. A new location assigned to the location marker will overwrite a previously defined location.
  3. Use the corresponding Jump Location Mark command to quickly jump to a stored cursor location.

 

Found an issue with this document? Highlight the area, then use Ctrl+Enter to report it.

Contact Us

Contact our corporate or local offices directly.

We're sorry to hear the article wasn't helpful to you.
Could you take a moment to tell us why?
200 characters remaining
You are reporting an issue with the following selected text
and/or image within the active document: