orbitalquark / textadept

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

--session parameter ignored #449

Closed merlindiavova closed 12 months ago

merlindiavova commented 1 year ago

Hi

Running

$ textadept --session /path/to/session/file

does not loading the given session file, however

$ textadept -s /path/to/session/file

does load the session file?

Any ideas why this is?

Thanks

orbitalquark commented 1 year ago

Thanks for the report. Upon initial investigation, it looks like Qt gobbles up that argument. The GTK version allows Textadept to process it. I will have to look into this further.

orbitalquark commented 12 months ago

I've documented this unfortunate behavior in https://github.com/orbitalquark/textadept/commit/6ca8a41a6f01c17e14af3749b7156c81cff02f9d. I cannot figure out how to tell Qt to knock it off :(