[Lazarus] Code auto-formatting

leledumbo leledumbo_cool at yahoo.co.id
Wed Nov 21 17:08:12 CET 2012


> 1. Can I somehow format only selected code? JCF made changes in whole
editor.

No AFAIK, it can't use partial parsing to format the code since it may lose
scope information thus can cause wrong formatting.

> 2. JCF has problem if strings have special characters (for example polish
> "ę"). It throw strange exceptions. But this issue is easy to solve

JCF is ported from Delphi without proper unicode support AFAIK, so there
might be problems with that. You can try reporting a bug (assuming it's not
fixed yet in trunk).



--
View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Code-auto-formatting-tp4027720p4027731.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.




More information about the Lazarus mailing list