EditWidgetBase.previousXScrollPos

To hold _scrollpos.x toggling between normal and word wrap mode

class EditWidgetBase
int previousXScrollPos;

Meta