Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 07:14 AM   #1
kbarni
Connoisseur
kbarni has a complete set of Star Wars action figures.kbarni has a complete set of Star Wars action figures.kbarni has a complete set of Star Wars action figures.kbarni has a complete set of Star Wars action figures.kbarni has a complete set of Star Wars action figures.
 
kbarni's Avatar
 
Posts: 53
Karma: 400
Join Date: Feb 2025
Device: Kindle PW5
Post Textadept - desktop grade text editor for Kindle HF

Thanks to clint32 we can now use Bluetooth keyboards with the Kindle. So I decided to port a more advanced text editor to our loved device.

Textadept 11.4 (HF)
a modern, fast, minimalist, and remarkably extensible cross-platform text editor.

It has multi buffer, split view, lexer support, command palette for quick access to commands and it is completely scriptable in LUA.

Even if it's not very popular, it is a very complete and capable text editor, one of my favorites even for desktop computer. And this is a feature complete port to the Kindle!

It has a graphical interface (GTK) and a terminal interface. Both are fully functional.

Usage: extract the attached file on the kindle. Start it either from KUAL or run ./textadept.sh in the textadept11 folder with kterm.

BUG: The software keyboard is not optimal for the GTK interface. It lacks the modifier keys (Ctrl, Alt) and disappears when opening a dialog box. Use it either with a bluetooth keyboard (highly recommended for typing anyway) or use the terminal version.

Textadept has a small learning curve, so be sure to read the attached docs. The default keyboard shortcuts are in the API document.

Important note: Currently it supports HF architecture only (firmware 5.16.3+)

Source code is available here: https://github.com/kbarni/textadept-kindle
Original repo: https://github.com/orbitalquark/textadept
Attached Thumbnails
Click image for larger version

Name:	20250915_110606.jpg
Views:	22
Size:	925.3 KB
ID:	218106   Click image for larger version

Name:	20250915_110656.jpg
Views:	18
Size:	869.9 KB
ID:	218107   Click image for larger version

Name:	screenshot_2025_09_15T22_04_07+0200.png
Views:	5
Size:	58.6 KB
ID:	218113  
Attached Files
File Type: zip textadept.zip (3.22 MB, 6 views)

Last edited by kbarni; Yesterday at 05:15 PM.
kbarni is offline   Reply With Quote
Old Yesterday, 11:58 AM   #2
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,525
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
> Currently it supports HF architecture only (firmware 5.16.2+)


This should be 5.16.3+
mergen3107 is offline   Reply With Quote
Old Yesterday, 04:54 PM   #3
kbarni
Connoisseur
kbarni has a complete set of Star Wars action figures.kbarni has a complete set of Star Wars action figures.kbarni has a complete set of Star Wars action figures.kbarni has a complete set of Star Wars action figures.kbarni has a complete set of Star Wars action figures.
 
kbarni's Avatar
 
Posts: 53
Karma: 400
Join Date: Feb 2025
Device: Kindle PW5
New version with graphical interface!

Recommended to use with an external keyboard because the soft keyboard disappears -- or use the terminal version...

Last edited by kbarni; Yesterday at 04:57 PM.
kbarni is offline   Reply With Quote
Old Yesterday, 04:56 PM   #4
Frogm4n
Evangelist
Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.
 
Posts: 473
Karma: 3579113
Join Date: Jul 2023
Device: Scribe 2022, OA2, PRS-350
The dev that ported Gargoyle to kindlehf added a tap gesture to pop the keyboard back up. Might look into something similar.
Frogm4n is offline   Reply With Quote
Old Yesterday, 05:08 PM   #5
kbarni
Connoisseur
kbarni has a complete set of Star Wars action figures.kbarni has a complete set of Star Wars action figures.kbarni has a complete set of Star Wars action figures.kbarni has a complete set of Star Wars action figures.kbarni has a complete set of Star Wars action figures.
 
kbarni's Avatar
 
Posts: 53
Karma: 400
Join Date: Feb 2025
Device: Kindle PW5
Quote:
Originally Posted by Frogm4n View Post
The dev that ported Gargoyle to kindlehf added a tap gesture to pop the keyboard back up. Might look into something similar.
That dev is me (hence my profile pic)

Yep, that's what I'll try to do tomorrow.

My problems are:
- the soft keyboard really likes to disappear in GTK apps That's a system bug, not from me...
- Need to check if I can override the taps as in Gargoyle; otherwise...
- I need to add a command to reload it every time some dialog opens
- Don't really know how to add a keyboard with modifier keys (ctrl and alt)


...Anyway, I would like to have a maximum screen surface when editing text. And a good typing experience. So, for serious writing I would prefer an external keyboard.
kbarni is offline   Reply With Quote
Old Yesterday, 07:56 PM   #6
Frogm4n
Evangelist
Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.
 
Posts: 473
Karma: 3579113
Join Date: Jul 2023
Device: Scribe 2022, OA2, PRS-350
D'oh! I'd remembered the thread but not who'd made it. Glad to see you're still working on interesting projects!
Frogm4n is offline   Reply With Quote
Reply

Tags
editor, terminal


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
K3 Question: How to share text editor screen with Kindle? paperscreen Kindle Developer's Corner 0 01-23-2024 05:41 AM
Elipsa Text in advanced notebook and on PDF flashing WordsOnPaper Kobo Reader 3 05-11-2022 05:18 AM
Kindle 4 Unable to close text editor Thefirebeast Amazon Kindle 3 06-23-2021 05:02 PM
Kindle Touch Text Editor buscon Amazon Kindle 11 09-22-2012 11:19 AM
Can the kindle 3 be used as a text editor with copy/paste function somehow? kinkle Amazon Kindle 3 05-19-2011 10:50 AM


All times are GMT -4. The time now is 01:35 AM.


MobileRead.com is a privately owned, operated and funded community.