Bug 269205 - Haskell Indentation plus let statement crashes kate
Summary: Haskell Indentation plus let statement crashes kate
Status: RESOLVED DUPLICATE of bug 265145
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 4.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-23 07:10 UTC by Roger Pixley
Modified: 2011-03-23 14:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roger Pixley 2011-03-23 07:10:14 UTC
Version:           4.0 (using KDE 4.6.1) 
OS:                Linux

Setting the Indentation to haskell in kate then using certain let phrases will freeze the program.

Reproducible: Always

Steps to Reproduce:
1) Open Kate/Kwrite 
2) In the Settings For the Editor under the tab indentation Set the style to haskell
3) type on a line let {}
4) press enter
5) File or Vote for Bug

Actual Results:  
The whole  UI froze up on occasion the mouse pointer will vanish if you put it over the program

Expected Results:  
A new line with a wrking cursour and Keyboard
Comment 1 Anne-Marie Mahfouf 2011-03-23 07:50:36 UTC
I cannot reproduce using Kate 3.6.41. When I set Haskell as "Default indentation mode" then when I type let {} and Return, the next line starts under the first { and so on. No freeze.

What is happening when you open a file with Haskell indentation mode? (not typing, opening one)?
Can you run Kate under gdb and get a backtrace when Kate freezes?
Comment 2 Erlend Hamberg 2011-03-23 13:31:06 UTC
I can confirm this erroneous behaviour. I see the same on Kate from git.
Comment 3 Erlend Hamberg 2011-03-23 13:34:54 UTC
No, sorry I was wrong. This seems to be fixed in git.
Looks like this is the same bug as in #265145.

Closing it as a duplicate of this. If this is not the case, please reopen.

*** This bug has been marked as a duplicate of bug 265145 ***
Comment 4 Anne-Marie Mahfouf 2011-03-23 14:05:30 UTC
I run Kate from git master