From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101666 Path: news.gmane.org!.POSTED!not-for-mail From: cryo shock Newsgroups: gmane.comp.tex.context Subject: Re: Textadept with ConTeXt Date: Tue, 21 Aug 2018 09:36:24 +0200 Message-ID: References: <2fde2de9-3318-dcaf-7ee8-3c1089d1d7a3@xs4all.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2066731325213012657==" X-Trace: blaine.gmane.org 1534836898 3169 195.159.176.226 (21 Aug 2018 07:34:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 21 Aug 2018 07:34:58 +0000 (UTC) Cc: mailing list for ConTeXt users To: j.hagen@xs4all.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 21 09:34:54 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fs1Bm-0000f6-92 for gctc-ntg-context-518@m.gmane.org; Tue, 21 Aug 2018 09:34:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EBDE353D87; Tue, 21 Aug 2018 09:36:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 97LBHAG0SIJS; Tue, 21 Aug 2018 09:36:49 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 278CB53D89; Tue, 21 Aug 2018 09:36:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BA2F653D89 for ; Tue, 21 Aug 2018 09:36:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xla6WSvMJMsM for ; Tue, 21 Aug 2018 09:36:47 +0200 (CEST) Original-Received: from mail-qt0-f177.google.com (mail-qt0-f177.google.com [209.85.216.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id B42B553D87 for ; Tue, 21 Aug 2018 09:36:36 +0200 (CEST) Original-Received: by mail-qt0-f177.google.com with SMTP id d4-v6so19075475qtn.13 for ; Tue, 21 Aug 2018 00:36:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HO/+nC94xA9+ttD7RwZwqD3Me9HVP2uPCNplrlaE3pw=; b=B7RL/VW8aLpNaB4wNRBlahqWMMwV1LN8g0jnhK6LQ8W+jKViSeeqy4Q+zW7Z2QKCgT dasT6dHzMEXJ/NQVv5B1MjfpJvvXXO34iLD1lOWShS1CkgsJTYHxX5bLmkr0EOfaYbDp AA9o7FG6ktpn2LZG+EjGqfRhO3CeBPHSJVYOoMG2HA3aJJJ9wC9gGF0dUrzpwuHkO+aO DHL0mCNa4vq/ynda01SALG/uIMrLh+q6UzcBK3M1iHHIPOyys9nsEvgfj7GnvT2NJ1pq MLWUieVIV2jp4LvPHoWhKhtcIwWt3Rrma7USN+ClTncfoLMeps33VyJSrWQfvFpkpZSI h1GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HO/+nC94xA9+ttD7RwZwqD3Me9HVP2uPCNplrlaE3pw=; b=I3/mfV/E6dcJcfSIbQHdmvZfDnt+FIfxO9xTi8tr4DrvnYYeYRQW+F+ZhXXB00yFfx 69wp2dDF74pfp9K2oSCwuYomtwi5eoVWsJHGX3GoSRD88KMHl81WCkISusRrg1fQygO6 HZW3nKdmGl6TTKipjS1s7ATnGHNkIyNgGkav+E2bJHKJ849eMOcb6hWEdH8HkdkghuUg 1YnrXou32JpNfuTXLAAkg4ICN6op5kL5KjfnLvpL8lveSxsSl3MBreB4P6BuOhj+YNeV crc3UhQVxvRhhEHRY1vcFvUyzth49mdXoLxYKuDR0Fotqn2oOPdWGOc5iCQMHrWVBzH3 H6PA== X-Gm-Message-State: AOUpUlE3aK9K27xyiZwW+zN85YLWirdvUg+1TwygZhO4x7l2BzOL74v9 0mwXStsdcmw9M5VcNr1eZCFru27H4cohBkzJTw== X-Google-Smtp-Source: AA+uWPxTEFB8Ne+fWa1wjRI0atcsxjZtKmlBg4HktjicNNet2kWyc4r161ulcFmoBcenToNnBme8jJxRPTg6w907g8M= X-Received: by 2002:ac8:2853:: with SMTP id 19-v6mr48248112qtr.61.1534836995469; Tue, 21 Aug 2018 00:36:35 -0700 (PDT) In-Reply-To: <2fde2de9-3318-dcaf-7ee8-3c1089d1d7a3@xs4all.nl> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:101666 Archived-At: --===============2066731325213012657== Content-Type: multipart/alternative; boundary="000000000000e7342a0573ed15e4" --000000000000e7342a0573ed15e4 Content-Type: text/plain; charset="UTF-8" Thanks a lot! Am Di., 21. Aug. 2018 um 09:06 Uhr schrieb Hans Hagen : > On 8/21/2018 1:59 AM, Lars wrote: > > Hi there, thanks for your interest in Textadept. It's a great editor and > > I am sure that you won't regret testing it and using it in the future. > > Just have some patience. > > i played with it a few times but its biggest drawback is the lack of a > fast and realtime console pane like scite has so i keep coming back to > scite (on the contrary scite has the lpeg lexer extern and its lua is > not shared with scites lua which is a drawback there) .. so currently i > see ta as a fallback > > in the context distrubution there are actually files for textadept but > because its (still?) a moving target with a changing interface i'm not > sure if it works with the latest (it's btw one reason why the files that > ship with context basically reset a lot of the fetaures because as usual > with editors, they tend to add lots of key bindings and stuff not needed > for tex and friends) > > anyway, > > ../context/data/textadept/context/textadept-context.cmd > ../context/data/textadept/context/textadept-context.sh > > still work on my machine so ... it's kind of providing the same > functionality as we use in scite. > > > *Fifth, is your context lexer loaded when you compile the file?* Check > > the status bar in the lower right corner. If it doesn't say "context" > > but "latex" or "text" or anything like that, then choose the context > > lexer via "Buffer" -> "Select lexer...". > the lexer that we use in scite and textadept both use the textadept > lexer dll (which plugs into scintilla) but because the lua code that > came with it kept changing and i needed way better performance (for > large files like char-def) than was possible at that time i also rewrote > that code for our purpose (also because i wanted spell checking, utf > and such) ... > > at some point the ta lexing method changed a bit so it became faster ... > all such such lexers sort of follow the same approach, mark regions and > associate them and we already had similar stuff on board in context so i > could combine things a bit > > i think that the scite/ta lexers that we ship are quite ok (i've now > used them for years) and they are probably better than the context lexer > that comes with textadept, i.e. the context one supports a mix of tex, > mp, lua etc, knows primitives, commands, helpers, and follows up on the > way we have had syntax highlighting for decades which in turn closely > relates to the way the context user interface evolved > > notepad++ does use the same scintilla editing framework but cannot load > the lexer dll; it does bidi a bit better > > anyway, with both scite and ta i can gamble on two horses > > > > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > --000000000000e7342a0573ed15e4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks a lot!

Am Di., 21. Aug. 2018 um 09:06=C2=A0Uhr schrieb Hans Hagen &l= t;j.hagen@xs4all.nl>:
=
On 8/21/2018 1:59 AM, Lars wrote:
> Hi there, thanks for your interest in Textadept. It's a great edit= or and
> I am sure that you won't regret testing it and using it in the fut= ure.
> Just have some patience.

i played with it a few times but its biggest drawback is the lack of a
fast and realtime console pane like scite has so i keep coming back to
scite (on the contrary scite has the lpeg lexer extern and its lua is
not shared with scites lua which is a drawback there) .. so currently i see ta as a fallback

in the context distrubution there are actually files for textadept but
because its (still?) a moving target with a changing interface i'm not =
sure if it works with the latest (it's btw one reason why the files tha= t
ship with context basically reset a lot of the fetaures because as usual with editors, they tend to add lots of key bindings and stuff not needed for tex and friends)

anyway,

../context/data/textadept/context/textadept-context.cmd
../context/data/textadept/context/textadept-context.sh

still work on my machine so ... it's kind of providing the same
functionality as we use in scite.

> *Fifth, is your context lexer loaded when you compile the file?* Check=
> the status bar in the lower right corner. If it doesn't say "= context"
> but "latex" or "text" or anything like that, then = choose the context
> lexer via "Buffer" -> "Select lexer...".
the lexer that we use in scite and textadept both use the textadept
lexer dll (which plugs into scintilla) but because the lua code that
came with it kept changing and i needed way better performance (for
large files like char-def) than was possible at that time i also rewrote that code for our purpose (also because i wanted spell checking, utf
and such) ...

at some point the ta lexing method changed a bit so it became faster ... all such such lexers sort of follow the same approach, mark regions and associate them and we already had similar stuff on board in context so i could combine things a bit

i think that the scite/ta lexers that we ship are quite ok (i've now used them for years) and they are probably better than the context lexer that comes with textadept, i.e. the context one supports a mix of tex,
mp, lua etc, knows primitives, commands, helpers, and follows up on the way we have had syntax highlighting for decades which in turn closely
relates to the way the context user interface evolved

notepad++ does use the same scintilla editing framework but cannot load the lexer dll; it does bidi a bit better

anyway, with both scite and ta i can gamble on two horses



Hans

-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 80= 61 GH Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0 tel: 038 477 53 69 | www.pragma-ade.nl | www.= pragma-pod.nl
-----------------------------------------------------------------
--000000000000e7342a0573ed15e4-- --===============2066731325213012657== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============2066731325213012657==--