From: Mo DeJong <mdejong@cygnus.com>
To: sourcenav@sources.redhat.com
Subject: Re: private variables, methods, etc.
Date: Thu, 05 Jul 2001 18:09:00 -0000 [thread overview]
Message-ID: <Pine.SOL.3.91.1010705180613.25762C-100000@cse.cygnus.com> (raw)
In-Reply-To: <3B43CE38.E9373446@omnisig.com>
On Wed, 4 Jul 2001, Celia McInnis wrote:
> Hi:
>
> I really love Source-Navigator - especially the fact that we can extend
> its functionality in many ways without having to change the
> Source-Navigator source code.
>
> Could you consider making more (or maybe even all?) of the methods and
> variables public rather than private?
No, we are not going to do that.
> Recently I needed to be able to access the value of text_current_line
> from the select_current_line method and found it necessary to override
> the whole Make class in order to get it. Seemed a shame to have to
> override 1000+ lines of code (which I'll then have/want to keep in sync
> with redhat upgrades) when all I needed was to stick in one global
> statement...
It sounds like you need a method that will report information about
the currently selected line. That way you can get the data you
need without having to extend the class to do it. Why don't you
spec out what kind of info you need, write a method to provide
that info, and then post a patch implementing that change to
the Make and Grep classes?
cheers
Mo
prev parent reply other threads:[~2001-07-05 18:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-04 19:11 Celia McInnis
2001-07-05 18:09 ` Mo DeJong [this message]
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=Pine.SOL.3.91.1010705180613.25762C-100000@cse.cygnus.com \
--to=mdejong@cygnus.com \
--cc=sourcenav@sources.redhat.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).