@@ -50,8 +50,6 @@ function Ace2Inner(editorInfo, cssManagers) {
5050 const FORMATTING_STYLES = [ 'bold' , 'italic' , 'underline' , 'strikethrough' ] ;
5151 const SELECT_BUTTON_CLASS = 'selected' ;
5252
53- const caughtErrors = [ ] ;
54-
5553 let thisAuthor = '' ;
5654
5755 let disposed = false ;
@@ -375,13 +373,6 @@ function Ace2Inner(editorInfo, cssManagers) {
375373 } ) ;
376374
377375 cleanExit = true ;
378- } catch ( e ) {
379- caughtErrors . push (
380- {
381- error : e ,
382- time : + new Date ( ) ,
383- } ) ;
384- throw e ;
385376 } finally {
386377 const cs = currentCallStack ;
387378 if ( cleanExit ) {
@@ -695,28 +686,9 @@ function Ace2Inner(editorInfo, cssManagers) {
695686 editorInfo . ace_setAuthorInfo = ( author , info ) => {
696687 setAuthorInfo ( author , info ) ;
697688 } ;
698- editorInfo . ace_setAuthorSelectionRange = ( author , start , end ) => {
699- changesetTracker . setAuthorSelectionRange ( author , start , end ) ;
700- } ;
701-
702- editorInfo . ace_getUnhandledErrors = ( ) => caughtErrors . slice ( ) ;
703689
704690 editorInfo . ace_getDocument = ( ) => document ;
705691
706- editorInfo . ace_getDebugProperty = ( prop ) => {
707- if ( prop === 'debugger' ) {
708- // obfuscate "eval" so as not to scare yuicompressor
709- window [ 'ev' + 'al' ] ( 'debugger' ) ;
710- } else if ( prop === 'rep' ) {
711- return rep ;
712- } else if ( prop === 'window' ) {
713- return window ;
714- } else if ( prop === 'document' ) {
715- return document ;
716- }
717- return undefined ;
718- } ;
719-
720692 const now = ( ) => Date . now ( ) ;
721693
722694 const newTimeLimit = ( ms ) => {
0 commit comments