Re: How to select several cells
- To: mathgroup at smc.vnet.net
- Subject: [mg99274] Re: How to select several cells
- From: mike.honeychurch at gmail.com
- Date: Fri, 1 May 2009 05:25:13 -0400 (EDT)
- References: <gt6fo2$rvr$1@smc.vnet.net> <gt9auc$qc3$1@smc.vnet.net>
On Apr 30, 5:20 am, Yuri Kandrashkin <SpinAlge... at gmail.com> wrote: > Hi, > > I wish to select two or more cells which don`t follow each other. For > example, 1, 2, 5 and 7-th cells in the notebook which in addition can > have different grouping options. It is similar when you select cells > by clicking the mouse button with holded Ctrl(Command) key. This can > be done with NotebookFind but in this case all SHOSEN cells must have > common tag. This method has two drawbacks. First one has to affect on > the cells inserting tags as cell option. Second, this work requires > individual manipulations with every cell, which is inefficient. > > The reason for this function is controlling notebook selection (and > evaluation etc) from outside of the notebook itself. Currently I have > engine which creates active table of contents (TOC). The TOC buttons > allow to open/close of the corresponding sections, to manipulate their > options etc. But these operations work on the level of individual > cells. The operations like selection of multiple cells simultaneously > (for example to launch their evaluation) need special function with > options described above. > > It might be that there is special FrontEndToken which does this work, > but I couldn=92t find it. > > Yuri But if you don't want to use tags then you still must have some way of differentiating those cells from the rest. What features do those cells have that others don't? Common words, symbols, operators ...? If you could provide that information it may be possible to provide suggestions but frankly tagging a cell doesn't seem inefficient to me. Maybe an extra few seconds per cell after you have just spent several seconds or minutes typing your cell content. Mike