[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] Get text at current line in ThredViewMode



Hello,

Take a look at this PR:

  https://github.com/sup-heliotrope/sup/pull/241

In this PR I take the text on the current line, try to extract an URI
out of it and open it with the system's xdg-open. The line you're
interested in is thread_view_mobe.rb:718. Basically a view is a list of
tuples: [color, data]. color denotes how to paint the data. The one
you're interested in is certainly :text_color.

This PR really old, and I should work on it, but I got distracted ...

-- 
Matthieu Rakotojaona

Attachment: signature.asc
Description: PGP signature

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk