Bug 391799

Summary: Feature request: Allow custom training lessons to be marked as 'Code sample'
Product: [Applications] ktouch Reporter: RR <raghu.nospam>
Component: generalAssignee: Sebastian Gottfried <sebastian.gottfried>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description RR 2018-03-13 08:14:15 UTC
I've just got myself a new keyboard and since the ENTER/Pipe/BS layout is different, I wanted to see
how effective I was with typing. I can touch type decently, but like most people, my wpm is lower when
writing code which generally has more symbols (period, parens, braces, sq brackets, greater than, lesser than).
Loved the feature where ktouch lets you create a custom sample - so I added a js sample (already indented with 
spaces). Now when I go through the custom lesson, I'm forced to typeout leading spaces - this is something that as a 
programmer you almost never have to do since pretty much every editor out there will autoindent the next line when you
hit enter.

I'd love if there was a way to configure ktouch to do this - ie. on ENTEr, go to the first char of the next line rather.
It could be a global option [Use Autoindent] or a per custom lesson option, or even just an option which shows up when
you start the test (hence not stored)

Thanks again!