[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jedit-devel
Subject:    [ jEdit-devel ] [ jedit-Plugin Bugs-1032850 ] XInsert script | handling bug
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2004-09-22 18:32:55
Message-ID: E1CABvD-0002xP-00 () sc8-sf-web2 ! sourceforge ! net
[Download RAW message or body]

Plugin Bugs item #1032850, was opened at 2004-09-22 18:32
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=565475&aid=1032850&group_id=588

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Daniel E. Markle (lexicon)
Assigned to: Nobody/Anonymous (nobody)
Summary: XInsert script | handling bug

Initial Comment:
XInsert 1.9 seems to have a bug where the | character,
which is supposed to insert the selected text and place
the cursor after that point, seems to loose the
selection whenever a script calls a popup.  It still
places the cursor at the | location, but it "forgets"
about the text which was selected.

Example:
=========

Script code
-----------
<item name="href" type="xinsert_script">{%href "Link
Location:"}<![CDATA[<a href="{$=href}">|</a>]]></item>

Highlight some text
-------------------
Here I have some *highlighted text* to try.  (*'s
represent highlighted area)

-Click the href Xinsert script this code creates.

-Enter data in the popup.

-Hit ok.

Actual result:
-------------
Here I have some highlighted text<a
href="blah.html"></a> to try.

-or- (depending on cursor location after highlight)

Here I have some <a href="blah.html"></a>highlighted
text to try.

Expected result:
----------------
Here I have some <a href="blah.html">highlighted
text</a> to try.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=565475&aid=1032850&group_id=588


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
-- 
-----------------------------------------------
jEdit Developers' List
jEdit-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic