www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Andrei's Google Talk

reply bearophile <bearophileHUGS lycos.com> writes:
Nick Sabalausky:
 But those are generally fairly minor things, and a number of them I think 
 are really more scintilla than PN2 (PN2 uses the scintilla text-edit 
 control).

I avoid all editors based on Scintilla because it is too much slow for me :-) Bye, bearophile
Aug 07 2010
next sibling parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
--e0cb4e887ee9d7bd17048d528ab0
Content-Type: text/plain; charset=ISO-8859-1

You mean slow in terms of productivity? With that I tend to agree. Most
scintilla-based editors that I've tried don't offer much more than what is
already in Scintilla. It's tends to be a sci-component wrapped in some GUI,
with options hidden in some menu somewhere that you have to hunt down (I
really prefer text files for settings, like in Scite). But it does load huge
files very fast, and seems to handle Unicode well (I've only tried on a
couple of files where it displayed unicode correctly, and VIM displayed
garbage).

On Sun, Aug 8, 2010 at 5:44 AM, bearophile <bearophileHUGS lycos.com> wrote:

 Nick Sabalausky:
 But those are generally fairly minor things, and a number of them I think
 are really more scintilla than PN2 (PN2 uses the scintilla text-edit
 control).

I avoid all editors based on Scintilla because it is too much slow for me :-) Bye, bearophile

--e0cb4e887ee9d7bd17048d528ab0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You mean slow in terms of productivity? With that I tend to agree. Most sci= ntilla-based editors that I&#39;ve tried don&#39;t offer much more than wha= t is already in Scintilla. It&#39;s tends to be a sci-component wrapped in = some GUI, with options hidden in some menu somewhere that you have to hunt = down (I really prefer text files for settings, like in Scite). But it does = load huge files very fast, and seems to handle Unicode well (I&#39;ve only = tried on a couple of files where it displayed unicode correctly, and VIM di= splayed garbage).<br> <br><div class=3D"gmail_quote">On Sun, Aug 8, 2010 at 5:44 AM, bearophile <= span dir=3D"ltr">&lt;<a href=3D"mailto:bearophileHUGS lycos.com">bearophile= HUGS lycos.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" s= tyle=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204= ); padding-left: 1ex;"> Nick Sabalausky:<br> &gt; But those are generally fairly minor things, and a number of them I th= ink<br> &gt; are really more scintilla than PN2 (PN2 uses the scintilla text-edit<b= r> &gt; control).<br> <br> I avoid all editors based on Scintilla because it is too much slow for me := -)<br> <br> Bye,<br> <font color=3D"#888888">bearophile<br> </font></blockquote></div><br> --e0cb4e887ee9d7bd17048d528ab0--
Aug 08 2010
prev sibling parent reply "Nick Sabalausky" <a a.a> writes:
"bearophile" <bearophileHUGS lycos.com> wrote in message 
news:i3l961$22a5$1 digitalmars.com...
 Nick Sabalausky:
 But those are generally fairly minor things, and a number of them I think
 are really more scintilla than PN2 (PN2 uses the scintilla text-edit
 control).

I avoid all editors based on Scintilla because it is too much slow for me :-)

?? I'm assuming that's a joke but I can't tell...?
Aug 08 2010
next sibling parent Adrian Matoga <epi atari8.info> writes:
On 2010-08-08 19:10, Nick Sabalausky wrote:
 "bearophile" <bearophileHUGS lycos.com> wrote in message 
 news:i3l961$22a5$1 digitalmars.com...
 Nick Sabalausky:
 But those are generally fairly minor things, and a number of them I think
 are really more scintilla than PN2 (PN2 uses the scintilla text-edit
 control).

:-)

?? I'm assuming that's a joke but I can't tell...?

I'm sure bearophile simply has a DMA channel between his brain and his computer's memory. ;) In that case, any editor for mortals is indeed way too slow. :) Adrian
Aug 08 2010
prev sibling next sibling parent reply Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
--0014853d01306981ab048d533e18
Content-Type: text/plain; charset=ISO-8859-1

Damn I must be stupid or something, I thought PN was closed source the last
time I checked it out. It supports Python scripting as well.. hmm. I'll have
to check it out. :)

2010/8/8 Adrian Matoga <epi atari8.info>

 On 2010-08-08 19:10, Nick Sabalausky wrote:

 "bearophile" <bearophileHUGS lycos.com> wrote in message
 news:i3l961$22a5$1 digitalmars.com...

 Nick Sabalausky:

 But those are generally fairly minor things, and a number of them I
 think
 are really more scintilla than PN2 (PN2 uses the scintilla text-edit
 control).

:-)


computer's memory. ;) In that case, any editor for mortals is indeed way too slow. :) Adrian

--0014853d01306981ab048d533e18 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Damn I must be stupid or something, I thought PN was closed source the last= time I checked it out. It supports Python scripting as well.. hmm. I&#39;l= l have to check it out. :)<br><br><div class=3D"gmail_quote">2010/8/8 Adria= n Matoga <span dir=3D"ltr">&lt;<a href=3D"mailto:epi atari8.info">epi atari= 8.info</a>&gt;</span><br> <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde= r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><= div class=3D"h5">On 2010-08-08 19:10, Nick Sabalausky wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde= r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> &quot;bearophile&quot; &lt;<a href=3D"mailto:bearophileHUGS lycos.com" targ= et=3D"_blank">bearophileHUGS lycos.com</a>&gt; wrote in message news:i3l961= $22a5$1 digitalmars.com...<br> <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde= r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> Nick Sabalausky:<br> <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde= r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> But those are generally fairly minor things, and a number of them I think<b= r> are really more scintilla than PN2 (PN2 uses the scintilla text-edit<br> control).<br> </blockquote> I avoid all editors based on Scintilla because it is too much slow for me := -)<br> <br> </blockquote> <br> ?? I&#39;m assuming that&#39;s a joke but I can&#39;t tell...?<br> <br> </blockquote> <br></div></div> I&#39;m sure bearophile simply has a DMA channel between his brain and his = computer&#39;s memory. ;) In that case, any editor for mortals is indeed wa= y too slow. :)<br><font color=3D"#888888"> <br> Adrian<br> <br> </font></blockquote></div><br> --0014853d01306981ab048d533e18--
Aug 08 2010
parent "Nick Sabalausky" <a a.a> writes:
"Andrej Mitrovic" <andrej.mitrovich gmail.com> wrote in message 
news:mailman.189.1281288584.13841.digitalmars-d puremagic.com...
 Damn I must be stupid or something, I thought PN was closed source the 
 last
 time I checked it out. It supports Python scripting as well.. hmm. I'll 
 have
 to check it out. :)

It also has damn good handling of various UTF-encodings and different line-endings. For instance, I see this (auto-detected) menu option and I just smile: http://www.semitwist.com/download/pn2utf.png
Aug 08 2010
prev sibling parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
--001636b14585c96bda048d7be2b0
Content-Type: text/plain; charset=ISO-8859-1

OT, but since we were on the subject of text editors I found a vim
keybinding script that some guy made a while ago and I've modified it to
work with a hotkey app called AutoHotkey_L (check
http://www.autohotkey.net/~Lexikos/AutoHotkey_L/ ). AHK_L is a modification
of the original AutoHotkey but has some nicer features, its Windows-only
unfortunately.

Right now it's just a basic script that allows you to switch from "vim-mode"
to the usual "default" mode (although I called it insert like in vim). When
you're in vim-mode, you can use the basic navigation keys, like JKL: (I've
assigned mine to IJKL however), moving the cursor to next/previous words
(and a number modifier before that to skip X number of words).

The cool thing is that it works with Scite. And if it works with Scite, it
probably works with most other Scintilla-based editors, provided that the
shortcuts are all the same there. I've tested it with PN and it works there
as well. Hell, it even works in Firefox!

I've only had a brief experience with VIM a few months ago, so I don't even
know the scratch of what it offers. But I'm thinking of expanding the
script, so one could potentially use it in *any* text editor. If there are
any VIM-enthusiasts that know AHK and would like to contribute, maybe I
could set up a repo someplace. Otherwise, I'll keep updating it for my own
use atm.

Download the script from here;

http://www.autohotkey.com/forum/viewtopic.php?p=375239#375239

Copy-paste the code in a text file, save the file as an .ahk file. Make sure
you've got AHK_L installed and run the script. Use caps-lock to switch
between modes. Have fun.


On Sun, Aug 8, 2010 at 7:49 PM, Nick Sabalausky <a a.a> wrote:

 "Andrej Mitrovic" <andrej.mitrovich gmail.com> wrote in message
 news:mailman.189.1281288584.13841.digitalmars-d puremagic.com...
 Damn I must be stupid or something, I thought PN was closed source the
 last
 time I checked it out. It supports Python scripting as well.. hmm. I'll
 have
 to check it out. :)

It also has damn good handling of various UTF-encodings and different line-endings. For instance, I see this (auto-detected) menu option and I just smile: http://www.semitwist.com/download/pn2utf.png

--001636b14585c96bda048d7be2b0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable OT, but since we were on the subject of text editors I found a vim=20 keybinding script that some guy made a while ago and I&#39;ve modified it t= o work with a hotkey app called AutoHotkey_L (check=20 <a href=3D"http://www.autohotkey.net/~Lexikos/AutoHotkey_L/">http://www.aut= ohotkey.net/~Lexikos/AutoHotkey_L/</a> ). AHK_L is a=20 modification of the original AutoHotkey but has some nicer features, its Windows-only unfortunately.<br> <br> Right now it&#39;s just a basic script that allows you to switch from=20 &quot;vim-mode&quot; to the usual &quot;default&quot; mode (although I call= ed it insert like in vim). When you&#39;re in vim-mode, you can use the basic navigation=20 keys, like JKL: (I&#39;ve assigned mine to IJKL however), moving the cursor= =20 to next/previous words (and a number modifier before that to skip X=20 number of words).<br> <br> The cool thing is that it works with Scite. And if it works with Scite,=20 it probably works with most other Scintilla-based editors, provided that the shortcuts are all the same there. I&#39;ve tested it with PN and it=20 works there as well. Hell, it even works in Firefox!<br> <br> I&#39;ve only had a brief experience with VIM a few months ago, so I don&#3= 9;t=20 even know the scratch of what it offers. But I&#39;m thinking of expanding= =20 the script, so one could potentially use it in *any* text editor. If=20 there are any VIM-enthusiasts that know AHK and would like to=20 contribute, maybe I could set up a repo someplace. Otherwise, I&#39;ll keep= =20 updating it for my own use atm.<br> <br> Download the script from here;<br> <br> <a href=3D"http://www.autohotkey.com/forum/viewtopic.php?p=3D375239#375239"=
http://www.autohotkey.com/forum/viewtopic.php?p=3D375239#375239</a><br>

Copy-paste the code in a text file, save the file as an .ahk file. Make=20 sure you&#39;ve got AHK_L installed and run the script. Use caps-lock to=20 switch between modes. Have fun.<br> =A0<br><br><div class=3D"gmail_quote">On Sun, Aug 8, 2010 at 7:49 PM, Nick= =20 Sabalausky <span dir=3D"ltr">&lt;a a.a&gt;</span> wrote:<br><blockquote cla= ss=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px sol= id rgb(204, 204, 204); padding-left: 1ex;">&quot;Andrej Mitrovic&quot; &lt;= <a href=3D"mailto:andrej.mitrovich gmail.com">andrej.mitrovich gmail.com</a=
&gt;

news:mailman.189.1281288584.13841.digitalmars-d puremagic.com...<br> <div class=3D"im">&gt; Damn I must be stupid or something, I thought PN=20 was closed source the<br> &gt; last<br> &gt; time I checked it out. It supports Python scripting as well.. hmm.=20 I&#39;ll<br> &gt; have<br> &gt; to check it out. :)<br> &gt;<br> <br> </div>It also has damn good handling of various UTF-encodings and=20 different<br> line-endings. For instance, I see this (auto-detected) menu option and I<br=

=3D"_blank">http://www.semitwist.com/download/pn2utf.png</a><br> <br> <br> </blockquote></div><br> --001636b14585c96bda048d7be2b0--
Aug 10 2010