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

List:       kde-bugs-dist
Subject:    [Bug 301578] Calling 'document.insertLine()' in js script trims whitespace
From:       Dmitry Suzdalev <dimsuz () gmail ! com>
Date:       2012-06-10 16:27:09
Message-ID: bug-301578-17878-is0HMy2PiU () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=301578

--- Comment #2 from Dmitry Suzdalev <dimsuz@gmail.com> ---
Ha! It starts to work indeed :)

But what should I (as a script writer) do? I cannot expect I would ask all of
my users to turn off this option for my script to work! I'd say it should not
be dependent on it :)

Also if I just go to end of line and start a new line it will automatically
indent and allow these spaces to be trailing, so why scripts are not allowed to
do the same?...

I.e. I want to have some way to create new line and put a cursor to the proper
indentation position, i.e emulate (Move To End Of Line + Enter) from the
script.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

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