blog: new editor2 with HTML tag matching
Moderators: fgagnon, nikos, Site Mods
-
- Platinum Member
- Posts: 1683
- Joined: 2009 Aug 19, 07:49
-
- Platinum Member
- Posts: 4797
- Joined: 2008 Sep 30, 06:52
- Location: Baile Átha Cliath
As you provided a (broken) link to your favourite editor earlier, he's just evening the score.Tuxman wrote:How is this related?
Just out of interest when you said
...could you provide an every-day example?Tuxman wrote:...typing two or three keys for something that would be way more complicated in ed² and N++ is simply lovely...
-
- Platinum Member
- Posts: 1683
- Joined: 2009 Aug 19, 07:49
Broken? How?Kilmatead wrote:As you provided a (broken) link
Depends. My every-day use is some coding and some pure writing. For coding, there are probably more examples.Kilmatead wrote:...could you provide an every-day example?
Go to line 23, remove three lines, go to the last character in the (now current) line and replace it by "x":
23G3dd$rx
No "Enter", no anything.

(And there's the "global" command... do something in every line that matches a certain regex, and so on.)
Tux. ; tuxproject.de
registered xplorer² pro user since Oct 2009, ultimated in Mar 2012
registered xplorer² pro user since Oct 2009, ultimated in Mar 2012
-
- Platinum Member
- Posts: 4797
- Joined: 2008 Sep 30, 06:52
- Location: Baile Átha Cliath
Curious, this... if I click your embedded link to vim firefox always comes back saying that it can't find the server (this is repeatable). However, if I just copy the link and paste 'http://vim.org/' directly, it goes there no problem. Odd.Tuxman wrote:Broken? How?

N++ has a regex plugin, if I recall.Tuxman wrote:For coding, there are probably more examples.
Other than than, what you're talking about is more ergonomic... some people (especially those with laptops) tend to not like mice that much, so setting up keyboard macros is a favoured method. N++ happily does this too, if necessary. However, for those who "do" like mice, that's moot.
I'm not against CLI, I just find it can be counter-intuitive if one's prejudice says "mouse-first, keyboard-second". Some people (like you) are wired the other way around.
And again, for coding, a (proper) IDE (as nikos said) is the usual approach... I'd never claim N++ could replace one of those. Though I am reminded of the days when learning Pascal on my old Commodore 64 no one had ever thought of IDE's for crappy little toy computers, so we made do with what we had and adapted quite well to even rudimentary CLI.

-
- Platinum Member
- Posts: 1683
- Joined: 2009 Aug 19, 07:49
N++ can not do "certain actions for every line matching a regex".Kilmatead wrote:N++ has a regex plugin, if I recall.
You can do everything with the keyboard, you can not do much with the mouse. So...Kilmatead wrote:I'm not against CLI, I just find it can be counter-intuitive if one's prejudice says "mouse-first, keyboard-second". Some people (like you) are wired the other way around.

Seeing people starting eclipse is fun to me. I can do so many things while they look at their hourglass cursor.Kilmatead wrote:And again, for coding, a (proper) IDE (as nikos said) is the usual approach...
Tux. ; tuxproject.de
registered xplorer² pro user since Oct 2009, ultimated in Mar 2012
registered xplorer² pro user since Oct 2009, ultimated in Mar 2012
-
- Platinum Member
- Posts: 4797
- Joined: 2008 Sep 30, 06:52
- Location: Baile Átha Cliath
You've gotta love YouTube, there's always something nostalgic to cringe over.Kilmatead wrote:Though I am reminded of the days when learning Pascal on my old Commodore 64 no one had ever thought of IDE's for crappy little toy computers, so we made do with what we had and adapted quite well to even rudimentary CLI.Back then I would have killed for something like vim.
Maybe you can't do everything with a mouse, but to someone adept at extended toolbar buttons and some dexterity, almost anything is possible. Almost.
Yeah, Eclipse does sit there and "think about life" for awhile before anything happens, but I was rather surprised at how fast (on a decent computer - not usually a laptop) later versions of Visual Studio can boot - usable even for (almost) instant text file editing. Every now and then MS can design something quite interesting and not bloated.
Regex on N++ by line... not using it for that sort of work, I couldn't say one way or the other. One of those things "the N++ community kids" no doubt would be more informed about.
-
- Platinum Member
- Posts: 1683
- Joined: 2009 Aug 19, 07:49
Well, unplug your keyboard then. Have fun.Kilmatead wrote:Maybe you can't do everything with a mouse, but to someone adept at extended toolbar buttons and some dexterity, almost anything is possible. Almost.
VS2008 is really impressive. Anyway, it all ends with VS2010 which uses WPF.Kilmatead wrote:I was rather surprised at how fast (on a decent computer - not usually a laptop) later versions of Visual Studio can boot

I can, because it was my main editor before I got to know Vim.Kilmatead wrote:Regex on N++ by line... not using it for that sort of work, I couldn't say one way or the other.

(It still lays untouched on the hard disk. For emergency.)
Tux. ; tuxproject.de
registered xplorer² pro user since Oct 2009, ultimated in Mar 2012
registered xplorer² pro user since Oct 2009, ultimated in Mar 2012
-
- Platinum Member
- Posts: 4797
- Joined: 2008 Sep 30, 06:52
- Location: Baile Átha Cliath
I can't do that - my G-15 runs my whole life through it's screen. 8) Mad shite, the things people invent.Tuxman wrote:Then unplug your keyboard


Not being au fait with it, what's wrong with WPF? (Really, I know nothing about it.)
-
- Platinum Member
- Posts: 1683
- Joined: 2009 Aug 19, 07:49
You could hardly use your computer anyway.Kilmatead wrote:I can't do that - my G-15 runs my whole life through it's screen. 8) Mad shite, the things people invent.
Compared to the OS' native UI controls: It relies on a huge framework, so the overall performance decreases. (You know that from Java Swing interfaces.Kilmatead wrote:Not being au fait with it, what's wrong with WPF?

Tux. ; tuxproject.de
registered xplorer² pro user since Oct 2009, ultimated in Mar 2012
registered xplorer² pro user since Oct 2009, ultimated in Mar 2012
-
- Gold Member
- Posts: 416
- Joined: 2004 Aug 16, 08:41
- Location: NL
Correct. I downloaded the new Ed version ans wanted to copy it in and noticed that the filenames are different. There is absolute no need for a 64 bit editor at all (other then performance, but that should be solved in other ways).Kilmatead wrote: However, I think what WimdeLange is referring to is that the x64 version of x2 already includes ed2 in a x64 version - so it follows that the next update will probably include this modified version in x64 as well.
Groetjes,
Wim de Lange
Wim de Lange
-
- Platinum Member
- Posts: 4797
- Joined: 2008 Sep 30, 06:52
- Location: Baile Átha Cliath
Well, I do have a couple of exta 24" LCD's hooked up to it.Tuxman wrote:You could hardly use your computer anyway.
I've said it before, and I'll say it again, your knowledge of English grammar (in this case possessives) is freaky for a non-native. A compliment, that.Tuxman wrote:Compared to the OS' native...
I thought it was based on Active-X, and was thusly influenced by accelerations?Tuxman wrote:It relies on a huge framework, so the overall performance decreases. You know that from Java Swing interfaces.
I wouldn't touch Java if you paid me.
-
- Platinum Member
- Posts: 1683
- Joined: 2009 Aug 19, 07:49
In worst case, a 64-bit application has a lower performance than a 32-bit application, depending on your configuration.WimdeLange wrote:There is absolute no need for a 64 bit editor at all (other then performance, but that should be solved in other ways).
... which don't replace your keyboard either.Kilmatead wrote:Well, I do have a couple of exta 24" LCD's hooked up to it.
I do my very best.Kilmatead wrote:your knowledge of English grammar (in this case possessives) is freaky for a non-native.

Not actually: http://en.wikipedia.org/wiki/Windows_Pr ... FoundationKilmatead wrote:I thought it was based on Active-X, and was thusly influenced by accelerations?
Neither would I, if I would not have had to. Anyway, these years are finally over.Kilmatead wrote:I wouldn't touch Java if you paid me.

Tux. ; tuxproject.de
registered xplorer² pro user since Oct 2009, ultimated in Mar 2012
registered xplorer² pro user since Oct 2009, ultimated in Mar 2012
-
- Platinum Member
- Posts: 4797
- Joined: 2008 Sep 30, 06:52
- Location: Baile Átha Cliath
There is no performance benefit under x64 unless the application is coded specifically for it (not just x86 recompiled - which 99% of current x64 applications are), or you're using extended memory (and actually using it), as discussed elsewhere.WimdeLange wrote:...other then performance
Ironically, there's actually a (humanly-imperceptible) performance decrease, as the registers need to process longer data structures per cycle. One of those urban myths, I'm afraid.
Last edited by Kilmatead on 2010 Apr 28, 13:02, edited 1 time in total.
-
- Platinum Member
- Posts: 4797
- Joined: 2008 Sep 30, 06:52
- Location: Baile Átha Cliath
No, but they provide better resolution than my eyes do, so maybe I could replace them instead.Tuxman wrote:... which don't replace your keyboard either.
Kilmatead wrote:I thought it was based on Active-X, and was thusly influenced by accelerations?
Yeah, no, my mistake... I meant to say DirectX.Tuxman wrote:Not actually: http://en.wikipedia.org/wiki/Windows_Pr ... Foundation
Designed to remove dependencies on the aging GDI subsystem, WPF is built on DirectX, which provides hardware acceleration