2

Consider this Ruby code:

puts "*****"
puts "    *"
puts "     "
puts "*****"
puts "       *"

My Output is like this:

*****  
  *

*****
    *

Why the heck a whitespace doesn't fill the same space as * character in Scite? I've tried it in Eclypse with Java and it works just fine.

user815693
  • 516
  • 1
  • 6
  • 12

2 Answers2

10

Proportional fonts have characters of varying widths, ruining space-based alignment.

Switch to a monospace font (e.g., Courier) so all characters are the same size and it'll work.

Dave Newton
  • 158,873
  • 26
  • 254
  • 302
0

In order to make it work in Scite You should add style.errorlist.32=$(font.monospace) in SciteUser.properties file

user815693
  • 516
  • 1
  • 6
  • 12