On 06/25/2011 02:41 PM, Johannes Wilm wrote:
> Hey,
> I noticed that when I copy a section that has some keywords for the
> index in it, these are just copied as if they were part of the body
> text. Also, my editors find it distracting seeing all those green
> words in the middle of the body text. My questions therefore:
>
> 1. Is the current behavior wanted? (feature or bug)
>
I think it would be very confusing if copying something only copied some
of it.

> 2. If this is not the case, could someone guide me to where copy is
> handled -- if that portion is "intelligent" enough that it permits for
> different ways of copying different environments (type "skip
> everything that is between X and Y when the user marks a block of text
> to copy it")
>
I'm not sure what it is you want here, but copying is handled in
CutAndPaste.cpp.

> 3. It would also be helpful to have a way of "ultra collapsing" an
> indexing command -- to only have it show up as a small green dot. If
> the copy-function isn't all that "smart", then it may be easier to
> "ultra collapse" all the indexing keywords and then to mark the text
> and copy it.
>
> 4. Alternatively to 3 (and maybe even more handy), there could be a
> menu entry under "view" that says "hide all index keywords" which then
> turns them into small green dots.
>
You can change the display of index entries via the InsetLayout
mechanism. I'm not sure what other choices you might have here, but you
can look at the Customization manual. For a start you could try:

Format 35
InsetLayout
  Decoration minimal
  ContentAsLabel false
End

Richard

Reply via email to