topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday March 19, 2024, 12:32 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: TextAdept: Lua-extensible Editor  (Read 21388 times)

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
TextAdept: Lua-extensible Editor
« on: April 20, 2012, 03:10 AM »
Today, Edvard pointed out TextAdept:

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.

textadept-logo.png



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

MD5: 20eabe5ae0d62dfd8b44cb3f7cb3ad83
SHA1: bc35c8b9743ffb29fd5669a78cefbb79fa643b4b

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #1 on: April 23, 2012, 02:46 AM »
Thanks ewemoa, looks interesting.

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #2 on: May 11, 2014, 03:45 AM »
Found a pros/cons review comparing Textadept with Sublime/VIM/Emacs here:

http://yfl.bahmanm.c...ews/textadept-review

Current version is 7.2 by the way.

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #3 on: May 11, 2014, 04:01 AM »
Textadept has moved on since the review as it seems. 7.2 which I'm running right now has tabs for example.

Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #4 on: May 11, 2014, 04:05 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:

font_rendering.png

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 :(.

Tuxman

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,466
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #5 on: May 11, 2014, 09:12 AM »
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.

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #6 on: May 11, 2014, 10:42 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:
Clipboard01.pngTextAdept: Lua-extensible Editor
Left is Sublime, on the right TextAdept. Text rendering is less "condensed" in TextAdept when compared, but that is no deal breaker for me.
 

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #7 on: May 11, 2014, 02:04 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.

Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #8 on: May 11, 2014, 02:38 PM »
That's interesting -- I wonder what is causing the horrible red/blue fringing on vertical edges on my setup :(.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #9 on: May 11, 2014, 03:38 PM »
That's interesting -- I wonder what is causing the horrible red/blue fringing on vertical edges on my setup :(.

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.

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,347
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #10 on: May 11, 2014, 11:52 PM »
no...more...text....editors...i can't take it anymore.
 :sick:

AbteriX

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,149
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #11 on: May 12, 2014, 01:00 AM »
more text editors...more text editors...more text editors...I still haven't found "the one"  ;D

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #12 on: May 12, 2014, 01:25 AM »
Maybe we need a text-editors-only sub-forum ;)

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #13 on: May 12, 2014, 01:27 AM »
That's interesting -- I wonder what is causing the horrible red/blue fringing on vertical edges on my setup :(.

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..../watch?v=3KZ6mIsbDc4


Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #14 on: May 12, 2014, 02:20 AM »
That's interesting -- I wonder what is causing the horrible red/blue fringing on vertical edges on my setup :(.

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 :-[.

Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,017
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #15 on: May 12, 2014, 02:37 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?

Tuxman

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,466
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #16 on: May 12, 2014, 02:59 AM »
Maybe we need a text-editors-only sub-forum ;)

Yay! Time to rant about Atom!

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #17 on: May 12, 2014, 05:39 AM »
If only I could get Dina to work in Textadept :-[.

The following seemed to work under a *NIX:

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

Code: Text [Select]
  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

Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #18 on: May 12, 2014, 06:19 AM »
If only I could get Dina to work in Textadept :-[.
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.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #19 on: May 12, 2014, 07:24 AM »
Wish you luck on this.

May be someone else with a *NIX environment can confirm whether the instructions work for them.

40hz

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 11,857
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #20 on: May 12, 2014, 02:20 PM »
Maybe we need a text-editors-only sub-forum ;)

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

Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,017
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #21 on: May 12, 2014, 09:58 PM »
Maybe we need a text-editors-only sub-forum ;)

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]
 :-\

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

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  :o ...pardon my doubts.

Tuxman

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,466
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #22 on: May 13, 2014, 04:42 AM »
Atom is based on a bloated web browser. Might explain things.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,186
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #23 on: May 13, 2014, 04:51 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.