Disable wrap for TextEdit, seperate dirname and basename