Author Topic: Pushing a marker on cursor-error  (Read 210 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1901
  • Hero Points: 184
  • Text
Pushing a marker on cursor-error
« on: March 27, 2020, 04:56:19 pm »
I've been using Ctrl+E (cursor-error) a bunch lately when looking at YAML files.
The YAML files have text like
Code: [Select]
  parameters:
  - $ref: ../../dir1/dir2/another.query.yaml
When I have my cursor on that path and press Ctrl+E, Slick opens that file -- really handy.
But I'd also like it to do a push, like push-tag does - so I can navigate with the bookmark stack.
Is there a way to do this?


patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1238
  • Hero Points: 119
Re: Pushing a marker on cursor-error
« Reply #1 on: March 27, 2020, 05:24:35 pm »
It looks like it does push a bookmark, but only if def_search_result_push_bookmark is non-zero.   So that would be the "Navigating search results pushes bookmark" setting under Editing -> Bookmarks.

I wouldn't have guessed it was under that setting.  Maybe we could use a more specific setting.

jporkkahtc

  • Senior Community Member
  • Posts: 1901
  • Hero Points: 184
  • Text
Re: Pushing a marker on cursor-error
« Reply #2 on: March 27, 2020, 05:36:30 pm »
thanks