Re: Look up error position by character number?

2019-03-12 Thread 'Jon' via BBEdit Talk
I just got the solution via Twitter:
Certainly - you can specify line *and* character offset. Using zero for the 
line number will interpret just the character offset.

So, in the "Go To Line" panel or popover, enter (for example): "0:42807".

tirsdag 12. mars 2019 14.04.25 UTC+1 skrev Jon følgende:
>
> Is there some way one can go to a given character position number in a 
> file, similar to going to line number so-and-so?
> I'm playing with a new programming language Janet, and when Janet detects 
> a bug or problem, it indicates the location by a character position range, 
> like here:
>
> error: expected number, got array
>
>   in _thunk [eval] (tailcall) at (1:9)
>
>   in eval1 [core.janet] at (42807:42820)
>
>   in run-context [core.janet] at (43244:43269)
>
>   in eval-string [core.janet] at (43892:44459)
>
>   in _thunk [repl] (tailcall) at (58:82)
>
>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Look up error position by character number?

2019-03-12 Thread 'Jon' via BBEdit Talk
Is there some way one can go to a given character position number in a 
file, similar to going to line number so-and-so?
I'm playing with a new programming language Janet, and when Janet detects a 
bug or problem, it indicates the location by a character position range, 
like here:

error: expected number, got array

  in _thunk [eval] (tailcall) at (1:9)

  in eval1 [core.janet] at (42807:42820)

  in run-context [core.janet] at (43244:43269)

  in eval-string [core.janet] at (43892:44459)

  in _thunk [repl] (tailcall) at (58:82)

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.