WPCubed Product Support

VK_UP/VK_DOWN/... + hidden paragraphs

WPTools 6.13

We are using deeply nested paragraphs (some hidden). This makes for example navigation using VK_DOWN kind of lame as the cursor doesn't seems to move at all when encountering say three consecutive hidden paragraphs. Any plans to just skip over hidden paragraphs during navigation or is this something I have to fix myself?

Regards
patrik.nyborg(a)genicore.se

#1 ♥ 0
4.6k Views 2 users read 2 min
support

Hi,

We do currently not plan to change this behavior since it would make control text inaccessible.

It would be not very diffuclt to make a KeyDown handler to jump over hidden paragraphs, though. You need to check the WPRichText.TextCursor.active_line.

That is the line number of the current line. If it is 0 ro the last line of the current paragraph (par.LineCount) You can position ActiveParagraph accordingly up or down.

Julian

#2 ♥ 0

Hi!

We do currently not plan to change this behavior since it would make control text inaccessible.

I was a bit unspecific, what I meant was hidden paragraphs with no text whatsoever - only children.

Regards
patrik.nyborg(a)genicore.se

#3 ♥ 0
support

Hi,

the first paragraph in a cell which hodls a nexsted table is also invisible. But it still must be accessibale, otherwise it is not possible to delete the table or enter text in front of it.

Julian

#4 ♥ 0
This category is archived. No new posts are possible.