QUOTES.TXT I'll have to look into where I can check that. I imagine
I can check xtrn_area.editor[user.editor].settings for that?
Yes, the XTRN_QUOTEWRAP bit-flag.
Re: Slyedit
By: Digital Man to Nightfox on Tue Dec 13 2022 08:19 pm
QUOTES.TXT I'll have to look into where I can check that. I imagine
I can check xtrn_area.editor[user.editor].settings for that?
Yes, the XTRN_QUOTEWRAP bit-flag.
There's also an option for the number of columns to wrap to (a number, or the user's terminal width). Is there a way to check for that value in JS?
QUOTES.TXT I'll have to look into where I can check that. I
imagine I can check xtrn_area.editor[user.editor].settings for
that?
Yes, the XTRN_QUOTEWRAP bit-flag.
There's also an option for the number of columns to wrap to (a number,
or the user's terminal width). Is there a way to check for that value
in JS?
Not easily: that setting isn't directly modeled). However, you could use the cnflib.js to load xtrn.cnf and find that setting, or wait until v3.20a, where that setting is (much) easier to parse from xtrn.ini (converted form the old xtrn.cnf), OR just assume it's 0 (wrap to user's terminal width). That's likely the most common setting anyway.
Sysop: | Xerxes |
---|---|
Location: | Azle, Texas |
Users: | 131 |
Nodes: | 10 (0 / 10) |
Uptime: | 85:21:47 |
Calls: | 3,189 |
Calls today: | 0 |
Files: | 195 |
U/L today: |
0 files (0K bytes) |
D/L today: |
0 files (0K bytes) |
Messages: | 366,060 |
Posted today: | 0 |