orbitalquark / textadept

Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor for programmers.
https://orbitalquark.github.io/textadept
MIT License
624 stars 38 forks source link

MacOS: Can't change preferences #519

Open rovf opened 3 months ago

rovf commented 3 months ago

Running Textadapt on MacOS 12.7.3 exhibits the following strangeness:

In the "Textadept" menu, the menut entries for "Preferences" and "Quit Textadept" are greyed out.

While the hotkeys are accepted (for instance Command-Q indeed quits the editor), the key Command-, , which is the shortcut for the prefernces, opens an empty window for the file ~/.textadept/init.lua . There are no settings which possibly could be edited.

orbitalquark commented 3 months ago

Thanks for the report about some menu items being disabled.

Settings are stored in ~/.textadept/init.lua, which is empty by default: https://orbitalquark.github.io/textadept/manual.html#textadept

The various settings and options available are covered throughout the manual, as well as in the Lua API (https://orbitalquark.github.io/textadept/api.html). It can be a bit overwhelming to navigate, I admit, but for now that's probably the best resource available. Textadept's own init.lua file (https://github.com/orbitalquark/textadept/blob/262048734d92bf3bef61860b14b0561ef7f7fbba/init.lua#L75) has an organized list of buffer and view settings to help you get started.