W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2012

[Bug 17258] New: can range object support text/word/sentence based range setting?

From: <bugzilla@jessica.w3.org>
Date: Thu, 31 May 2012 02:05:32 +0000
To: www-dom@w3.org
Message-ID: <bug-17258-4009@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17258

           Summary: can range object support text/word/sentence based
                    range setting?
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
        AssignedTo: annevk@annevk.nl
        ReportedBy: eric.sun@huawei.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org


Hi, we are developing  web based programming tool.
Grammar highlight and auto-complete are features we want in the tool.
But we find it is hard and not flexible when using existing node based range
object method: setStart(node,offset),setEnd(node, offset) to implement it.

Can we add another style method which have been support in IE, similar with
moveStart("character",1) or moveStart("word",2) etc, it will give more
flexibility for our development.

what's more, can we let range object support execCommand method to directly set
the font,color,background etc, without another call of document.execCommand.

expecting your feedback.
thanks

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Thursday, 31 May 2012 02:05:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:09 GMT