[
https://issues.apache.org/jira/browse/JSPWIKI-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dirk Frederickx resolved JSPWIKI-381.
-------------------------------------
Resolution: Fixed
Resolved in v2.8.1-svn-12.
The combination of section-editing and periodically refreshed sneak-previews
was inserting newlines at every period (3sec)
The insertion of the newline is only needed during section-editing, to avoid
that the next header lines (starting with !!!) always remain at the start of a
newline.
> Sneak Preview should be time-based
> ----------------------------------
>
> Key: JSPWIKI-381
> URL: https://issues.apache.org/jira/browse/JSPWIKI-381
> Project: JSPWiki
> Issue Type: Improvement
> Components: Editors
> Affects Versions: 2.8
> Reporter: Klaus Malorny
> Assignee: Dirk Frederickx
> Fix For: 2.8.1
>
>
> I discovered the new "sneak preview" function of the editor. This is a nice
> idea, but I think the way the preview is updated is not optimal. If I
> understand this correctly, the preview is updated if the edit control loses
> the focus. Also, some extended functions of the editor seem to trigger the
> update as well. At least I get some updates when I don't expect them.
> I would prefer a solution that is based on the idle time of the user, if this
> is possible. If the user is inactive for a certain time and he did some
> changes, the update is triggered. Since I assume that the preview includes a
> round trip to the server, I would adjust the wait time dynamically. I would
> measure the round trip and display time of the last update and would set the
> wait time as a multiple of it. In addition to that, I would add an explicit
> update button and/or keyboard shortcut to initiate the update.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.