Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: Matthieu Rakotojaona <matthieu.rakotojaona@gmail.com>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] Get text at current line in ThredViewMode
Date: Tue, 15 Apr 2014 20:38:15 +0200	[thread overview]
Message-ID: <1397545869-sup-4820@kpad> (raw)
In-Reply-To: <1397511511-sup-2550@ArchNemesis>


[-- Attachment #1.1: Type: text/plain, Size: 519 bytes --]

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 #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 966 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

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

  reply	other threads:[~2014-04-15 18:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-14 21:43 Micah Duke
2014-04-15 18:38 ` Matthieu Rakotojaona [this message]
2014-04-15 19:10   ` Micah Duke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1397545869-sup-4820@kpad \
    --to=matthieu.rakotojaona@gmail.com \
    --cc=sup-talk@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox