Revision: 7536
http://svn.sourceforge.net/supercollider/?rev=7536&view=revAuthor: alexnorman
Date: 2008-04-28 13:20:05 -0700 (Mon, 28 Apr 2008)
Log Message:
-----------
removed html comments from html help processing.. also replaced – with - in output
Modified Paths:
--------------
trunk/editors/scvim/bin/scvim_make_help.rb
Modified: trunk/editors/scvim/bin/scvim_make_help.rb
===================================================================
--- trunk/editors/scvim/bin/scvim_make_help.rb 2008-04-25 12:56:39 UTC (rev 7535)
+++ trunk/editors/scvim/bin/scvim_make_help.rb 2008-04-28 20:20:05 UTC (rev 7536)
@@ -108,10 +108,21 @@
stdin.close
#grab the lines from unhtml
#res = stdout.readlines
- res = stdout.readlines.collect { |i| i.gsub(/[\x80-\xFF]/, '') }
+ res = stdout.readlines.collect { |i|
+ i.gsub!(/[\x80-\xFF]/, '')
+ i.gsub!("–",'-')
+ i
+ }
+ tmp = Array.new
+ res.each { |i|
+ #remove html comments
+ if i !~ /^\s*<!--.*-->\s*$/
+ tmp << i
+ end
+ }
#close everything
stdout.close; stderr.close
- return res
+ return tmp
}
return []
end
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
_______________________________________________
sc-dev mailing list
sc-dev@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-dev