OS4 DepotLogo by McFly 
(anonymous IP: 44.220.62.183,2182) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (595)
   o Document (22)
   o Driver (97)
   o Emulation (146)
   o Game (995)
   o Graphics (497)
   o Library (114)
   o Network (231)
   o Office (66)
   o Utility (919)
   o Video (69)

Total files: 4348

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Utility » Text » Edit » litexl.lha

LiteXL

Description: A lightweight text editor written in Lua and SDL
Download: litexl.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 2Mb
Version: 2.1.2r1
Date: 31 Dec 2023
Author: Francesco Abbate, LiteXL team, George Sokianos
Submitter: George Sokianos
Homepage: https://git.walkero.gr/walkero/lite-xl
Requirements: SDL 2
Category: utility/text/edit
Replaces: utility/text/edit/litexl.lha
License: Other
Distribute: yes
Min OS Version: 4.1
FileID: 12782
 
Snapshots:
 
Comments: 7
Snapshots: 4
Videos: 0
Downloads: 58  (Current version)
615  (Accumulated)
Votes: 13 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
# Lite XL v2 for AmigaOS 4.1 FE & MorphOS 3

Lite XL is a lightweight text editor written in Lua and SDL2.

The port is not perfect and it might have issues here and there. It might
crash from time to time, if there is a path problem, but overall it works
pretty well. This is my daily editor for any kind of development.
If it crashes on your system, try to delete to `.config` folder.

## Installation
You can extract the Lite XL archive wherever you want and run the *lite*
editor.

## Configuration folder
This editor creates a `.config` folder where the configuration is saved, as
well as plugins, themes etc.. By default this version uses the installation
folder, but if you want to override it, you can create an ENV variable
named `HOME` and set there your prefferable path.

You can check if there is one already set by executing the following command
in a shell
```
GetEnv HOME
```
If there is one set, then you will see the path at the output.

Otherwise, you can set your home path be executing the following command.
Change the path to the one of your preference.
```
SetEnv SAVE HOME "Sys:home/"
```

## Addons
### Colors
Colors are lua files that set the color scheme of the editor. There are
light and dark themes for you to choose.

To install and use them you have to copy the ones you would like from
`addons/colors/light` or `addons/colors/dark` into the folder
`.config/lite-xl/colors/`. Don't add light or dark folders. Just copy the
.lua files in there.

Then you have to start Lite XL and open your configuration by clicking
at the cog icon at the toolbar (bottom left sixth icon). Go at the line
that looks like below
```
-- core.reload_module("colors.summer")
```
and change the `summer` with the name of your color theme. Also, remove
the two dashes `--` at the start of the line and save the file. If you
did everything right, the color schema should change instantly.

The themes can also be found at
https://github.com/lite-xl/lite-xl-colors

### Plugins
LiteXL is able to use plugins to extend its features. Those can be found
at https://github.com/lite-xl/lite-xl-plugins and other websites. Not all
of them will work fine on AmigaOS 4 or MorphOS, because of missing
dependencies or filesystem issues.

To make it easier for you, I gathered some of the plugins that are working
well, and I included them under `addons/plugins`. For you to install the
ones you would like to use, you have to copy the `.lua` files into the
folder `.config/lite-xl/plugins/` and restart the editor.

Please, choose wisely, because adding all the plugins might make the editor
slower on your system. I would recommend you add only those that you really
need.

## Tips and tricks
### Transitions

If you want to disable the transitions and make the editor faster,
open your configuration file by clicking at the cog icon at the toolbar
(bottom left, 6th icon) and add the following line at the end of the file,
and then save it. You might need to restart your editor.

```
config.transitions = false
```

### Hide files from the file list

If you would like to hide files or whole folder from the left side bar list,
open your configuration by clicking at the cog icon at the toolbar
(bottom left sixth icon) and add the followline at the end of the file and
save it. This hides all the files that start with a dot, and all the `.info`
files. You might need to restart your editor.

```
config.ignore_files = {"^%.", "%.info$"}
```

You can add as many rules as you want in there, to hide files or
folders, as you like.

## I would like to thank

- IconDesigner for the proper glow icons that are included in the release
- Capehill for his tireless work on SDL port for AmigaOS 4.1 FE
- Michael Trebilcock for his port on liblua
- Bruno "BeWorld" Peloille for his great work on porting SDL to MorphOS
  and for his valuable help
- Lite XL original team for being helpful and providing info

Without all the above Lite XL would not be possible

## Support
If you enjoy what I am doing and would like to keep me up during the night,
please consider to buy me a coffee at:
https://ko-fi.com/walkero

## Known issues
You can find the known issues at
https://git.walkero.gr/walkero/lite-xl/issues

# Changelog

## [2.1.2r1] - 2023-12-19
### Added
- Added the new experimental codesets plugin (AmigaOS4 version only).
  MorphOS version is in WIP

### Changed
- Synced with the latest upstream v2.1.2 code
- Compiled with gcc 11.3.0
- Compiled with SDL 2.28.4
- Compiled with libfreetype 2.13.x
- Compiled with lua 5.4.6
- Compiled with linpng 1.6.40 (AmigaOS4 version only)
- Compiled with libz 1.2.13 (AmigaOS4 version only)

## [2.1.1r2] - 2022-05-14
### Changed
- Compiled with latest SDL v2.26.5-rc2

## [2.1.1r1] - 2022-01-29
### Changed
- Binary name changed to lite-xl
- Updated the colour themes and the plugins that are included in the release
- Compiled with latest SDL 2.26
- Compiled with gcc 11
- Synced the code with the upstream master branch at 8th January 2023

### Fixed
- Set the default locale on AmigaOS 4, so as to fix some issues with decimal
  numbers

## [2.1.0r1] - 2022-10-10
### Added
- This version of LiteXL recognises changes that are done outside the editor
  in files and folders, and updates the items when it gets focus again.

### Changed
- Synced the code with the latest upstream master branch, which means that
  this version is based on the latest available source
- Now the plugins need to be version 3. The older versions will not work.
  All the included plugins are updated to the latest available version.
- Compiled with SDL 2.24
- Compiled with Lua 5.4

### Fixed
- Fixed regex issues with some plugins
- Fixed "Open in System" on AmigaOS 4 and MorphOS. When you right click
  at a file or a folder at the treeview at the left side, then depending
  the type of the item opens on Workbench. A folder opens in a list view
  and a file opens with its default tool
- Fixed markdown preview on MorphOS. Now, it calls openurl with the html
  file (#20)
- Fixed locale issues on MorphOS (again), since the previous fix didn't
  actually fixed the problem

# Disclaimer
YOU MAY USE IT AT YOUR OWN RISK!
I will not be held responsible for any data loss or problems you might get
by using this software.





Copyright © 2004-2024 by Björn Hagström All Rights Reserved