aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/plaintext.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-02-15 12:58:51 -0500
committerRalph Amissah <ralph@amissah.com>2011-02-15 13:00:29 -0500
commit9f4166c72780c7dfd9d8aec31646555229a2fb52 (patch)
tree90d04a16c7d6eccc5233c09d6805ce27d8dbcc87 /lib/sisu/v3/plaintext.rb
parentsysenv & sisurc.yml: libreoffice, default odf reader (diff)
console feedback on selected files being processed, updates & fixes
Diffstat (limited to 'lib/sisu/v3/plaintext.rb')
-rw-r--r--lib/sisu/v3/plaintext.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3/plaintext.rb b/lib/sisu/v3/plaintext.rb
index 004705f3..8b910642 100644
--- a/lib/sisu/v3/plaintext.rb
+++ b/lib/sisu/v3/plaintext.rb
@@ -84,12 +84,12 @@ module SiSU_Plaintext
unless @opt.cmd =~/q/
path=env.path.output_tell
tool=(@opt.cmd =~/[MVv]/) \
- ? "#{env.program.text_editor} #{path}/#{md.fnb}/#{md.fn[:plain]}" \
+ ? "#{env.program.text_editor} #{md.file.output_path.txt}/#{md.file.base_filename.txt}" \
: @opt.fns
@opt.cmd=~/[MVvz]/ \
? SiSU_Screen::Ansi.new(@opt.cmd,'Plaintext',tool).green_hi_blue \
: SiSU_Screen::Ansi.new(@opt.cmd,'Plaintext',tool).green_title_hi
- SiSU_Screen::Ansi.new(@opt.cmd,@opt.fns,"#{path}/#{md.fnb}/#{md.fn[:plain]}").flow if @opt.cmd =~/[MV]/
+ SiSU_Screen::Ansi.new(@opt.cmd,@opt.fns,"#{md.file.output_path.txt}/#{md.file.base_filename.txt}").flow if @opt.cmd =~/[MV]/
end
dal_array=SiSU_DAL::Source.new(@opt).get # dal file drawn here
wrap_width=if defined? md.make.plaintext_wrap \