Bug 384658 - Line indented automatically when entering one of the letters i,u,e,n,d,f in python code
Summary: Line indented automatically when entering one of the letters i,u,e,n,d,f in p...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.38.0
Platform: Arch Linux Linux
: HI normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-13 12:03 UTC by hysArubFes
Modified: 2017-10-17 20:45 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.40.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hysArubFes 2017-09-13 12:03:16 UTC
Version: 17.8.1

In the following code example:

if True:
	print("A")
i

As soon as entering the 'i', the line gets indented automatically. If I enter u, e, n, d or f, the same happens. For about any other letter, it doesn't. The same happens here:

if True:
	print("A")
pri

as soon as entering the 'i'.

If I already have the code:

if True:
	print("A")
print("find")

and add an 'i' before 'find' or anywhere in that line -- the same. Adding e.g. an 'a' doesn't change indentation.

This is either a consequence of some important feature I just don't get or it's a bug -- in any case, it's at least very irritating. ;)
Comment 1 Jonathan Verner 2017-09-26 19:24:27 UTC
I can confirm that it happens here too (Neon Packages, same version, i.e., 17.08.1). And I can confirm that it is very irritating :-)
Comment 2 Jonathan Verner 2017-09-26 19:33:10 UTC
Note that a recent build of the beta version of Kdevelop (5.1.40, AppImage) does not seem to suffer from this bug.
Comment 3 SpaghettiToastBook 2017-09-28 19:02:53 UTC
I'm also experiencing this bug with 17.08.1.
Comment 4 Koichi Akabe 2017-10-13 07:43:00 UTC
I also confirmed with 17.04.3 (Ubuntu package version: 4:17.04.3-0ubuntu1)
Comment 5 Koichi Akabe 2017-10-13 08:06:24 UTC
This bug is not happened with ktexteditor-5.28.0 + kate-17.04.3
Comment 6 Koichi Akabe 2017-10-13 08:33:17 UTC
At least, this bug is not happened with ktexteditor-5.37.0, and happened with ktexteditor-5.38.0
Comment 7 kmoo 2017-10-16 15:49:03 UTC
This problem also occurs with ktexteditor-5.39.0 (Arch Linux). Reverting the package back to ktexteditor-5.37.0 resolves the problem for me.