[jEdit-Syntax-devel] Format-only edit mode
Brought to you by:
marcel-boehme,
oliverhe
From: Henning, O. <Hen...@lo...> - 2002-08-20 12:46:20
|
Hi, what do think about a format-only edit mode. This would be useful for reformatting or cleaning up code without risking any damage to the text itself. The format mode should be type specific as comment markers are specific and Phython programs, for instance, use indentation as block markers. In format mode, you could only: - insert/delete whitespace (spaces, tabs, carriage returns, etc.). This would exclude changing whitespace in string literals. And some types = may not allow carriage returns at arbitrary positions without a line = continuation character. You must also not remove a whitespace between two non-whitespace-characters. - delete/edit/insert comments. This would exclude commenting existing = code and also uncommenting if it results in non-comment text.=20 Any ideas/suggestions? "Jetzt hei=DFt es nur noch: Zukunft kaufen, Zukunft verkaufen, bis = keine Zukunft mehr da ist." aus "Im Auftrag des Teufels"=20 This=20e-mail=20and=20any=20attachment=20is=20for=20authorised=20use=20by=20= the=20intended=20recipient(s)=20only.=20=20It=20may=20contain=20proprietar= y=20material,=20confidential=20information=20and/or=20be=20subject=20to=20= legal=20privilege.=20=20It=20should=20not=20be=20copied,=20disclosed=20to,= =20retained=20or=20used=20by,=20any=20other=20party.=20=20If=20you=20are=20= not=20an=20intended=20recipient=20then=20please=20promptly=20delete=20this= =20e-mail=20and=20any=20attachment=20and=20all=20copies=20and=20inform=20t= he=20sender.=20=20Thank=20you. |