> > If you restore that behavior, however, you might want to consider offering > an option to set what “indent one level” means (e.g. a literal TAB > character, 8 spaces, 4 spaces, 2 spaces, whatever).
If I understand correctly then you should be able to do this already by setting the Format noun in the script that displays when you do Edit|Configure|Base NB. script formatting: NB. Format is a numeric list: NB. 0 0=no format, 1=do format NB. 1 soft tab width (0=hard tab) NB. 2 if remove multiple spaces in code NB. 3 if indent explicit definition NB. 4 if indent select I think if you set the soft tab width to be anything other than 0 (use a TAB character) then that sets the number of spaces that will be used as the indent. On Tue, Aug 18, 2015 at 2:46 AM, Dan Bron <[email protected]> wrote: > Yes, I’d support that change. > > Also, one thing I’m missing in JQt from the old Windows C++ frontend is > highlighting/selecting multiple lines and then pressing TAB to indent them > one level, simultaneously (and SHIFT+TAB to outdent them one level > simultaneously). > > If you restore that behavior, however, you might want to consider offering > an option to set what “indent one level” means (e.g. a literal TAB > character, 8 spaces, 4 spaces, 2 spaces, whatever). > > > -Dan > > > On Aug 17, 2015, at 10:38 AM, chris burke <[email protected]> wrote: > > > > The Jqt editor currently uses Ctrl+Shift+N to comment lines and > > Ctrl+Shift+B to uncomment them. These keys have been used in J for many > > years, but are non-standard. > > > > The usual practice in text editors is to use Ctrl+/ as a toggle and > > Ctrl+Shift+/ as a block toggle, i.e, in J804: > > > > Ctrl+/ toggle NB. on/off on selected lines > > Ctrl+Shift+/ toggle Note on/off, i.e. wrap selected lines in > Note'' > > .... ) > > > > Is this OK? > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
