[TxMt] Re: What are marks an how to set?
koen at koenpunt.nl
Tue Apr 19 16:27:34 UTC 2016
2.0-beta.9.1 isn't published as nightly build? Because I still have
2.0-beta.9, with the ⌘ < / ⌘ > shortcuts.
On Apr 19 2016, at 6:17 pm, Jacob Carlborg <doob at me.com> wrote:
> On 2016-04-19 17:28, feek wrote:
> seems odd, but I really do not know what marks are and how to set them
> how many)? It seems related to the keybinding setMark.
> In the latest release version 2.0-beta.9.1 the jump to next/previous mark
> shortcuts have been changed to F3/⇧F3. So I was wondering how to set them
> and what is the difference with bookmarks?
> A mark will show up in the gutter, to the left of the line numbers, as
an icon. If you click on the icon a popover will open with a message.
> You can set marks using "mate --set-mark", see "mate -h" for more
information. For example, "mate --set-mark error:foobar --line 3
foo.txt" will open the file "foo.txt" and set a mark at line 3 with an
icon corresponding to "error" with the message "foobar".
> Marks can be used for showing compile errors or warnings for example.
The built-in runner supports marks. You can test this by creating a new
file called "foo.rb" with the following content "class Foo". Select Ruby
as the language and run the file using Cmd+R. You should now see a
warning icon in the gutter, pressing the icon should show a popover with
the text: "syntax error, unexpected end-of-input".
textmate mailing list
textmate at lists.macromates.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the textmate