lib/rbcurse/rmultitextview.rb in rbcurse-1.1.5 vs lib/rbcurse/rmultitextview.rb in rbcurse-1.2.0.pre
- old
+ new
@@ -173,11 +173,12 @@
begin
@current_buffer = @bmanager.add file, title
$log.debug " file edit got cb : #{@current_buffer} "
set_current_buffer
rescue => err
- $error_message = "Error: #{err} "
- @form.window.print_error_message
+# $error_message = "Error: #{err} " # changed 2010 dts
+ $error_message.value = "Error: #{err} "
+ #@form.window.print_error_message
Ncurses.beep
return -1
end
end
def buffer_at index