Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • August 31, 2015, 08:54:19 PM
  • Proudly celebrating 10 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 8090 times)

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • gravatar avatar
  • Posts: 2,702
    • View Profile
    • Donate to Member
TextAdept: Lua-extensible Editor
« 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.

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,100
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #1 on: April 23, 2012, 02:46:07 AM »
Thanks ewemoa, looks interesting.

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,100
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« 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.c...ews/textadept-review

Current version is 7.2 by the way.

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,100
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« 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.

Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,026
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« 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:

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: 1,566
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« 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.

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 1,854
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« 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:
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,100
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« 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.

Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,026
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« 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 :(.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,391
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« 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 :(.

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,025
  • Is your software in my list?
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #10 on: May 11, 2014, 11:52:37 PM »
no...more...text....editors...i can't take it anymore.
 :sick:

AbteriX

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,085
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« 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"  ;D

phitsc

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

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,100
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« 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 :(.

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,026
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« 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 :(.

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: 2,769
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« 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?

Tuxman

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

Yay! Time to rant about Atom!

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • gravatar avatar
  • Posts: 2,702
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #17 on: May 12, 2014, 05:39:34 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
  1. ui.set_theme('dark', {font = 'Dina', fontsize = 13})
  2.  

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,026
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #18 on: May 12, 2014, 06:19:04 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
  • **
  • gravatar avatar
  • Posts: 2,702
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« 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.

40hz

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 11,529
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #20 on: May 12, 2014, 02:20:59 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: 2,769
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #21 on: May 12, 2014, 09:58:56 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: 1,566
    • View Profile
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« Reply #22 on: May 13, 2014, 04:42:44 AM »
Atom is based on a bloated web browser. Might explain things.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,297
  • "In my dreams, I always do it right."
    • View Profile
    • wraith808
    • Donate to Member
Re: TextAdept: Lua-extensible Editor
« 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.