

- #TEXPAD REAL LAGGY HOW TO#
- #TEXPAD REAL LAGGY UPDATE#
- #TEXPAD REAL LAGGY CODE#
- #TEXPAD REAL LAGGY FREE#
- #TEXPAD REAL LAGGY WINDOWS#
#TEXPAD REAL LAGGY CODE#
The Canvas is very nice to work with and is supported in virtually all modern browsers.īut all I saw was advice NOT to use the Canvas to implement a code editor. I then searched for implementations with Canvas and 2d context. But I felt that the DOM was just in the way. I first experimented with the DOM, the way CodeMirror and many other web editors do it, via "contenteditable=true". I decided to make it run in the browser, where I'm very confident, and I can bundle it with Webkit (io.js) to make it feel "native". Sure I could extend on Notepad++, but I have no C++ coding skills and I want to make my own from scratch!
#TEXPAD REAL LAGGY WINDOWS#
One that would run on a graphic platforms like Windows or the browser. So I decided to make a "graphical" code editor. Sure I could learn, but it also feels like I'm on the Commandore 64 when using them, which is a bit depressing, for those days are way gone. They are however way too complicated for me. There are already two very good and known editors for that: Vim and Emacs. At least I though so =)Ī decision I had to take early on was whether it should work in the console (via SSH) or not. I had already tried Codemirror, but it was too hard.
#TEXPAD REAL LAGGY HOW TO#
How to make an editorĪfter spending weeks trying to find a code editor that fits my need, I started searching on how to implement one. I totally depend on that function-list, so it was time to build my own code editor! One I could tailor for my specific needs. Heck, not even all JavaScript function's show up in it!
#TEXPAD REAL LAGGY UPDATE#
The famous droplet that caused the beaker to overflow was when Notepad++ made an update that disabled the "old obsolete" function list, and was stuck with their built-in buggy and annoying one. I have thought about making a code editor myself for a while now, but not having the slightest idea how to do it.
#TEXPAD REAL LAGGY FREE#
Visual Studio is quite bloated and slow, and cost a bit too much, like five hundred dollars and new releases every year (no free upgrades). And editors built upon Codemirror tend to be very slow, even though Tern it self is reasonable fast. I don't think the Browser's Document Object Model (DOM) is optimal for text editing. I tried to implement Codemirror with Tern myself, but it didn't work out. There are also a few editors built upon Codemirror. Those are Codemirror with Tern, and Microsoft Visual Studio. I've searched for a code editor that supports JavaScript intelligence for a while now, and so far found two that are actively maintained. Which I soon realized I needed, after using JavaScript functions that sometimes could have up to ten arguments *grin* It didn't - however have argument hints - when calling the functions. Notepad++ had this great function-list plugin that made the job very well. When starting to write more and more JavaScript, I felt the need to have a function list, so that I could quickly jump between them. Notepad++ was very buggy at the time and crashed a lot, so I didn't start to use it fully since about a few years ago. I was now hungry for new features and was kinda looking for a new text editor when I found out about Notepad++. But it also got, if I remember correctly code highlighting! Witch was really nice. It kept me happy for many years!īut then Texpad got a big update, that changed how some stuff worked, like the search box now felt backwards. Textpad was such a relief, it had both line numbers and supported tab indentations. Worth noting is that I also didn't indent my code, because that is not supported in Notepad :PĪt one point I couldn't put up with this any longer, so I asked around if anyone knew a text editor that had line numbers and if possible also support text indentation. I used a few tricks though, one was that I made comments in the source files, that said "This is line 100", "This is line 250" etc. Meaning, that if there was a error in my code at say line 500, I had to manually count down to that line. At that time, it didn't even have the GoTo-line function. I used Notepad for quite some time, and today I can't imagine how I put up to it. And before that I used Notepad, the text editor that comes with Microsoft Windows. It's lightweight (takes up little computer resources), and has a bunch of neat features like parenthesis highlighting/matching.īefore I switched to Notepad++ I used Textpad. It's free (as in both freedom, do what you like, and free beer). I'm currently using Notepad++ for my coding needs. Making a text editor for JavaScript using JavaScript A canvas based JavaScript editor, written in JavaScript.
