Use of RSyntaxTextArea, cut|copy|past function, modified fileHandler class to use RSyntaxDocument