Alternative Caret Fix

JoshEdit was not properly reporting the correct preferred size when the parent component was still null during its initialization, so JoshEdit was reporting its default preferred size of 320,240 initially causing the scrollbars to not immediately be taken into account. This second solution just sets the preferredSize in fitToCode() This attempts to resolve #13

Please also note the following line.
https://github.com/JoshDreamland/JoshEdit/blob/master/org/lateralgm/joshedit/JoshText.java#L2703