fixed uncomment-region

--HG--
branch : pmacs2
This commit is contained in:
moculus 2009-04-09 04:38:56 +00:00
parent d4a044f772
commit 9f26df444c
1 changed files with 1 additions and 1 deletions

View File

@ -561,7 +561,7 @@ class UncommentRegion(Method):
return return
commentc = w.mode.commentc or '#' commentc = w.mode.commentc or '#'
commentre = re.compile('^( *)((?:%s)+)' % commentc) commentre = re.compile('^( *)(%s)' % commentc)
for y in range(p1.y, p2.y): for y in range(p1.y, p2.y):
line = w.buffer.lines[y] line = w.buffer.lines[y]