Implemented setLineNumbers and setWordWrap methods