Welcome Guest.   Make a donation to an author on the site October 20, 2014, 04:51:23 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Free DonationCoder.com Member Kit: Submit Request.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: TextAdept: Lua-extensible Editor  (Read 5979 times)
ewemoa
Honorary Member
**
Posts: 2,475



View Profile Give some DonationCredits to this forum member
« on: April 20, 2012, 03:10:30 AM »

Today, Edvard pointed out TextAdept:

Quote
Textadept is a fast, minimalist, and ridiculously extensible cross-platform text editor for programmers. Written in a combination of C and Lua and relentlessly optimized for speed and minimalism over the years, Textadept is an ideal editor for programmers who want endless extensibility options without sacrificing speed or succumbing to code bloat and featuritis.

Perhaps trying to extend TextAdept and read some of its source may be a helpful activity if one is interested in learning some Lua.





For the win32 download of version 5.2, got the following checksums:

MD5: 20eabe5ae0d62dfd8b44cb3f7cb3ad83
SHA1: bc35c8b9743ffb29fd5669a78cefbb79fa643b4b
Logged
phitsc
Honorary Member
**
Posts: 1,008



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #1 on: April 23, 2012, 02:46:07 AM »

Thanks ewemoa, looks interesting.
Logged

phitsc
Honorary Member
**
Posts: 1,008



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #2 on: May 11, 2014, 03:45:29 AM »

Found a pros/cons review comparing Textadept with Sublime/VIM/Emacs here:

http://yfl.bahmanm.com/Me...-reviews/textadept-review

Current version is 7.2 by the way.
Logged

phitsc
Honorary Member
**
Posts: 1,008



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #3 on: May 11, 2014, 04:01:41 AM »

Textadept has moved on since the review as it seems. 7.2 which I'm running right now has tabs for example.
Logged

Jibz
Developer
***
Posts: 937



Cold Warrior

View Profile WWW Give some DonationCredits to this forum member
« Reply #4 on: May 11, 2014, 04:05:24 AM »

My biggest problem with Textadept is the font rendering on Windows. The following compares Textadept (dark theme) with Sublime (solarized theme), using the Source Code Pro and Consolas fonts:



According to the author, it's a problem with GTK on Windows, but I simply can't look at it for more than a few minutes without developing a headache -- it feels a bit like watching one of those anaglyph 3D images without wearing the glasses Sad.
Logged

"A problem, properly stated, is a problem on it's way to being solved" -Buckminster Fuller
"Multithreading is just one damn thing after, before, or simultaneous with another" -Andrei Alexandrescu
Tuxman
Supporting Member
**
Posts: 1,484


OMG not him again!

View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: May 11, 2014, 09:12:19 AM »

Quote
Textadept is easily on par with Vim, Emacs and ST (to name three popular, powerful editors) in terms of its capabilities.

Where's the mail client?

I guess the "problem with GTK" is a problem with the developer. Other GTK editors work fine.
Logged

I bet when Cheetahs race and one of them cheats, the other one goes "Man, you're such a Cheetah!" and they laugh & eat a zebra or whatever.
- @VeryGrumpyCat
Shades
Member
**
Posts: 1,669


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #6 on: May 11, 2014, 10:42:37 AM »

Indeed, there are differences between the two, but not bothersome to me. These solarized colors in your screenshot, do (but that is a matter of preference, of course).

Here is a side-by-side from both with default settings and colors on my windows 7 with Ati video-card (Radeon HD4670) with the latest drivers for that particular video-card:

Left is Sublime, on the right TextAdept. Text rendering is less "condensed" in TextAdept when compared, but that is no deal breaker for me.
 
Logged
phitsc
Honorary Member
**
Posts: 1,008



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #7 on: May 11, 2014, 02:04:23 PM »

And here one from me, both with Consolas and Monokai Themes (although these differ for the two editors as is obvious):

Same conclusion as Shades.


* Sublime_vs_Textadept.png (147.42 KB, 1920x1040 - viewed 151 times.)
Logged

Jibz
Developer
***
Posts: 937



Cold Warrior

View Profile WWW Give some DonationCredits to this forum member
« Reply #8 on: May 11, 2014, 02:38:43 PM »

That's interesting -- I wonder what is causing the horrible red/blue fringing on vertical edges on my setup Sad.
Logged

"A problem, properly stated, is a problem on it's way to being solved" -Buckminster Fuller
"Multithreading is just one damn thing after, before, or simultaneous with another" -Andrei Alexandrescu
skwire
Global Moderator
*****
Posts: 4,111



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #9 on: May 11, 2014, 03:38:36 PM »

That's interesting -- I wonder what is causing the horrible red/blue fringing on vertical edges on my setup Sad.

Jibz, your screenshots remind me of ClearType colouring/anti-aliasing.  Perhaps that's what is causing it?  For the record, I can't STAND ClearType at all; it always looks fuzzy and out-of-focus to me.
Logged

superboyac
Charter Member
***
Posts: 5,702


Is your software in my list?

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #10 on: May 11, 2014, 11:52:37 PM »

no...more...text....editors...i can't take it anymore.
 Sick
Logged

AbteriX
Charter Honorary Member
***
Posts: 1,050


Member #520

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #11 on: May 12, 2014, 01:00:57 AM »

more text editors...more text editors...more text editors...I still haven't found "the one"  Grin
Logged

Greetings, Stefan.
phitsc
Honorary Member
**
Posts: 1,008



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #12 on: May 12, 2014, 01:25:54 AM »

Maybe we need a text-editors-only sub-forum Wink
Logged

phitsc
Honorary Member
**
Posts: 1,008



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #13 on: May 12, 2014, 01:27:47 AM »

That's interesting -- I wonder what is causing the horrible red/blue fringing on vertical edges on my setup Sad.

Jibz, your screenshots remind me of ClearType colouring/anti-aliasing.  Perhaps that's what is causing it?  For the record, I can't STAND ClearType at all; it always looks fuzzy and out-of-focus to me.

That reminds me of: https://www.youtube.com/watch?v=3KZ6mIsbDc4

Logged

Jibz
Developer
***
Posts: 937



Cold Warrior

View Profile WWW Give some DonationCredits to this forum member
« Reply #14 on: May 12, 2014, 02:20:42 AM »

That's interesting -- I wonder what is causing the horrible red/blue fringing on vertical edges on my setup Sad.

Jibz, your screenshots remind me of ClearType colouring/anti-aliasing.  Perhaps that's what is causing it?  For the record, I can't STAND ClearType at all; it always looks fuzzy and out-of-focus to me.

That could very well be the case, but I am not seeing these artifacts in other editors. Perhaps Textadept is choosing a bad renderer on my machine, but I can't find any option to change it, and I don't want to turn off ClearType systemwide just for one editor.

If only I could get Dina to work in Textadept embarassed.
Logged

"A problem, properly stated, is a problem on it's way to being solved" -Buckminster Fuller
"Multithreading is just one damn thing after, before, or simultaneous with another" -Andrei Alexandrescu
Edvard
Coding Snacks Author
Charter Honorary Member
***
Posts: 2,580



View Profile Give some DonationCredits to this forum member
« Reply #15 on: May 12, 2014, 02:37:53 AM »

Yay!  It's got Rectangular Selection!
Boo!  It can't compile my Pascal tomfoolery.

Should be just a matter of digging in the .lua configuration files, eh?
Logged

All children left unattended will be given a mocha and a puppy.
Tuxman
Supporting Member
**
Posts: 1,484


OMG not him again!

View Profile WWW Give some DonationCredits to this forum member
« Reply #16 on: May 12, 2014, 02:59:17 AM »

Maybe we need a text-editors-only sub-forum Wink

Yay! Time to rant about Atom!
Logged

I bet when Cheetahs race and one of them cheats, the other one goes "Man, you're such a Cheetah!" and they laugh & eat a zebra or whatever.
- @VeryGrumpyCat
ewemoa
Honorary Member
**
Posts: 2,475



View Profile Give some DonationCredits to this forum member
« Reply #17 on: May 12, 2014, 05:39:34 AM »

If only I could get Dina to work in Textadept embarassed.

The following seemed to work under a *NIX:

0. Ensure Dina is installed.
1. Open ~/.textadept/init.lua
2. Add the following:

Formatted for Lua with the GeSHI Syntax Highlighter [copy or print]
  1. ui.set_theme('dark', {font = 'Dina', fontsize = 13})

3. Save the file.
4. Start textadept.



AdeptedAdapted from instructions via:

  http://foicica.com/textadept/09_Themes.html
Logged
Jibz
Developer
***
Posts: 937



Cold Warrior

View Profile WWW Give some DonationCredits to this forum member
« Reply #18 on: May 12, 2014, 06:19:04 AM »

If only I could get Dina to work in Textadept embarassed.
The following seemed to work under a *NIX:

Thanks, unfortunately that gives some proportional default substitution font instead. Perhaps there is a problem with bitmap fonts as well, I've emailed the author.
Logged

"A problem, properly stated, is a problem on it's way to being solved" -Buckminster Fuller
"Multithreading is just one damn thing after, before, or simultaneous with another" -Andrei Alexandrescu
ewemoa
Honorary Member
**
Posts: 2,475



View Profile Give some DonationCredits to this forum member
« Reply #19 on: May 12, 2014, 07:24:14 AM »

Wish you luck on this.

May be someone else with a *NIX environment can confirm whether the instructions work for them.
Logged
40hz
Supporting Member
**
Posts: 10,718



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #20 on: May 12, 2014, 02:20:59 PM »

Maybe we need a text-editors-only sub-forum Wink

Subforum? You could do up an entire community website plus a forum on that topic. Grin
Logged

Don't you see? It's turtles all the way down!
Edvard
Coding Snacks Author
Charter Honorary Member
***
Posts: 2,580



View Profile Give some DonationCredits to this forum member
« Reply #21 on: May 12, 2014, 09:58:56 PM »

Maybe we need a text-editors-only sub-forum Wink

Yay! Time to rant about Atom!

[rant]Tried Atom; it wouldn't compile, even though I had all the dependencies and specs.  Strike one.
So I tried somebody's PPA, which worked well...-ish.  7 seconds to start up. Wat?  For a text editor?  Strike two.
Doesn't have column/rectangular selection or bookmark by search.  Strike three.[/rant]
 undecided

Ah well, it's still young yet, let's see how it does in a few months. embarassed

Also, no Pascal lexer, and no option to build, compile, or run from the editor (that I could see).

Getting a bit more comfy with TextAdept.  With a few tweaks, it may rival Geany  ohmy ...pardon my doubts.
Logged

All children left unattended will be given a mocha and a puppy.
Tuxman
Supporting Member
**
Posts: 1,484


OMG not him again!

View Profile WWW Give some DonationCredits to this forum member
« Reply #22 on: May 13, 2014, 04:42:44 AM »

Atom is based on a bloated web browser. Might explain things.
Logged

I bet when Cheetahs race and one of them cheats, the other one goes "Man, you're such a Cheetah!" and they laugh & eat a zebra or whatever.
- @VeryGrumpyCat
wraith808
Supporting Member
**
Posts: 6,412



"In my dreams, I always do it right."

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #23 on: May 13, 2014, 04:51:08 PM »

Also, no Pascal lexer, and no option to build, compile, or run from the editor (that I could see).

CTRL+SHIFT+P - search for packages, and clikc on install packages.  Search for Pascal.

https://atom.io/packages/language-pascal

You can also remove packages that you don't need to speed it up... there's even a timecop package that's included that will narrow down the items that made it take a long time.

Logged

Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.055s | Server load: 0.04 ]