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

List:       kde-bugs-dist
Subject:    [Bug 79257] Complex Perl hashes confuse code folding
From:       Anders Lund <anders () alweb ! dk>
Date:       2004-11-08 16:55:08
Message-ID: 20041108165508.25836.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
        
http://bugs.kde.org/show_bug.cgi?id=79257        
anders alweb dk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From anders alweb dk  2004-11-08 17:55 -------
CVS commit by alund: 

* Much better string support:
  - quoted constructs now allows space/newline between q[qxrw]? and the delimiter, \
                including comments on the first line.
  - support for single quoted patterns (m'', s'', q[rx]'')
  - improved HERE document support, also respects single quote delimiters.
* String delimiters are now allways rendered as Operator, so that the string data is \
distinct. this includes all quoted constructs, '', "", q[qrxw]//, m//, s/// in all \
variants. (You may wish to change the style for Operator, please let me know if you \
                have a good idea for this).
* REPLACEMENT is now rendered as a [interpolated] string.
* HERE documents is rendered either as a interpolated string or bare text.
* About all foldable strings are folded: PATTERNs, REPLACEMENTs, strings, word lists \
                etc, HERE documents in addition to code blocks. Missing is still \
                parethesed "blocks".
* Much better variable support in strings and PATTERNs, special variables are now \
                supported except a few ($[}\]>'] + in addition to those not supported \
                by perl).
* The REPLACEMENT in s{} {} is now recursively parsed, so that "s{PATTERN} { { } { { \
                } } }cigmosx" will not break.
* Hash keys are now code. That means that unquoted hash keys ("$hash{key}") appears \
as barewords, but otoh complex keys are allways correct, and code folding is not \
                broken.
* Last but not least, FASTER! The number of checks in the base context is now less \
than half of before, and in general regex usage is minimized.

The new versions should allready be available in the highlight download dialog in the \
editor configuration. Do not hesitate to get and test this, and mail me/contact me in \
                #kate/file more bug reports if you experience problems.
BUG: 83715
BUG: 79257
CCBUG: 92613
CCBUG 91603


  M +336 -241  perl.xml   1.37.2.4


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

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