emacs-for-scala
emacs-for-scala copied to clipboard
Fixed width font on editor windows
The fonts being employed at the moment look nice, except that variable width fonts in editor windows are very inconvenient for people addicted to rectangular editing.
In my specific situation, I prefer to format the code myself, employing something which looks nice and which helps spotting typos and other stupid mistakes that would be very difficult to spot otherwise.
For example, in the snippet of code below there are 2 typos which are far easier to spot using tabular formatting and fixed width fonts than it would be if using some sort of automatic formatting and variable width fonts.
matrix( 5).populate(gauss.interpolate(i+k+ 5, j+k+base+ 5), rapson.interpolate(i+k+base+ 5))
matrix( 6).populate(gauss.interpolate(l+k+ 6, j+k+base+ 6), rapson.interpolate(i+k+base+ 6))
matrix( 7).populate(gauss.interpolate(i+k+ 7, j+k+base+ 7), rapson.interpolate(i+k+base+ 7))
matrix( 8).populate(gauss.interpolate(i+K+ 8, j+k+base+ 8), rapson.interpolate(i+k+base+ 8))
matrix( 9).populate(gauss.interpolate(i+k+ 9, j+k+base+ 9), rapson.interpolate(i+k+base+ 9))
matrix(10).populate(gauss.interpolate(i+k+10, j+k+base+10), rapson.interpolate(i+k+base+10))
matrix(11).populate(gauss.interpolate(i+k+10, j+k+base+11), rapson.interpolate(i+k+base+11))
matrix(12).populate(gauss.interpolate(i+k+10, j+k+base+12), rapson.interpolate(i+k+base+12))
matrix(12).populate(gauss.interpolate(i+k+10, j+k+base+13), rapson.interpolate(i+k+base+13))
matrix(14).populate(gauss.interpolate(i+k+10, j+k+base+14), rapson.interpolate(i+k+base+14))