added editline
preprocessor statements and fake editline methods for cross compatibility