Bug 373294 - Reformatting selected text is broken with Custom script formatter
Summary: Reformatting selected text is broken with Custom script formatter
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 5.0.3
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2016-12-05 14:31 UTC by Kilian Lackhove
Modified: 2017-01-08 19:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kilian Lackhove 2016-12-05 14:31:58 UTC
select a section of ill-indented code and hit reformat source
-> the code is not formatted at all

set the source formatter to artistic style and repeat
-> code is formatted

formatting the entire file (when nothing is selected) works fine
Comment 1 Kevin Funk 2017-01-08 19:06:26 UTC
Apparently this works in never KDevelop. Can't reproduce this using KDevelop from 5.0 branch.

Please try with the 5.1.0 Beta AppImage.