// Create the dialog var dlg = Factory.loadui('grepresults.ui'); var text = dlg.child('results_text'); function build_row( file, line, text ) { file = file.replace( /:$/, "" ); line = line.replace( /:$/, "" ); return '' +''+file+'' +''+line+'' +''+text+''; } var s = ''; s += ''; s += ''; s += ''; var line = readLine(); while ( line != null ) { line.replace( /&/g,"&"); line = line.replace( /"/g,"""); line = line.replace( /
FileLineText