internal text editor: added EditorHasScrollbar debug setting to have
	      	      the scrollbar turned off by default