TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: Digital Man
from: Nightfox
date: 2022-12-14 08:27:00
subject: Editor quoted text wrappi

  Re: Editor quoted text wrapping
  By: Digital Man to Nightfox on Tue Dec 13 2022 11:34 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? 

 > DM>> 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? 

 DM> Not easily: that setting isn't directly modeled). However, you could use
 DM> the cnflib.js to load xtrn.cnf and find that setting, or wait until
 DM> v3.20a, where that setting is (much) easier to parse from xtrn.ini
 DM> (converted form the old xtrn.cnf), OR just assume it's 0 (wrap to user's
 DM> terminal width). That's likely the most common setting anyway.

OK, thanks.
I may look into using cnflib.js for now to see if I can get the setting that way.

Nightfox

---
 þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
                                                                                                 
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.