On Thu, 2007-01-18 at 20:30 -0600, Frank E Harrell Jr wrote:
> Like kile for LaTeX, Linux/KDE's kate editor is an excellent editor for 
> R, with easy code submission to a running R process.  Syntax 
> highlighting is good.  I have  not been able to figure out two things:
> 
> - how to automatically reformat a line or region of text using good 
> indentation rules (Emacs/ESS make this so easy by just hitting Tab while 
> the cursor is in a line, or highlighting a region and hitting Esq q)
> 
> - how to cause auto-indenting as you type braces.  For me, kate puts a { 
> in column one
> 
> Thanks for any pointers.

Frank,

I'm not sure if what I found provides an optimistic outlook, however,
you might find the following helpful:

See the questions:

  Can I use different indenters for different files?

  How can I get KatePart to autoindent XXX code?

at http://kate-editor.org/faq.  KatePart is the text editing component
in Kate.

In the two answers, there are links to articles that provide additional
insight into implementing indentation functionality in Kate.

HTH,

Marc

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to