Bug 396513 - Weird auto closing policy for long comments
Summary: Weird auto closing policy for long comments
Status: RESOLVED FIXED
Alias: None
Product: LDT
Classification: Tools
Component: LuaDevelopmentTools (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 minor
Target Milestone: 1.1 RC1   Edit
Assignee: Simon Bernard CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday
Depends on: 409987
Blocks:
  Show dependency tree
 
Reported: 2012-12-13 10:45 EST by Kevin KIN-FOO CLA
Modified: 2013-11-12 06:23 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin KIN-FOO CLA 2012-12-13 10:45:51 EST
While editing Lua file, when you type "--[[" only one "]" is auto inserted.
We should fix this.
Comment 1 Simon Bernard CLA 2013-06-28 12:47:05 EDT
this happens only when cursor at the end of file.
Comment 2 Simon Bernard CLA 2013-11-07 11:26:10 EST
fixed since commit : 49e2262d9ffcb1d8156c6cec03ffe88913386415
Comment 3 Kevin KIN-FOO CLA 2013-11-08 11:28:12 EST
When you type '[' as a final character of a file, a ']' is added but they both shift one character back.
Typing:
    call()
    [
Will produce:
    call()[]
Comment 4 Simon Bernard CLA 2013-11-12 06:23:01 EST
hope this is really fixed this time :) 
commit : ab115a910c28457a5f2968407fbbe37c84db362e