Delete Blocks of Whitespace in Emacs -


i end blocks of code this:

public class customfile {      public string path;     public string name;          public customfile (string pathtofile, string dbname) {     path = pathtofile;     name = dbname;     } } 

i want able put cursor on line above public customfile , able delete of whitespace not including public string name;. there command or macro allow me this?

this looks want:

c-x c-o runs command delete-blank-lines, interactive compiled lisp function in `simple.el'.  bound c-x c-o.  (delete-blank-lines)  on blank line, delete surrounding blank lines, leaving one. on isolated blank line, delete one. on nonblank line, delete following blank lines. 

Comments

Popular posts from this blog

how to build hyperlink for query string in php -

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

html - How to set table cell value using jquery -