Looking for the Perfect Editor

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • limodou

    #46
    Re: Looking for the Perfect Editor

    On 9/15/06, Roger <crosseyedpengu in@cox.netwrote :
    Jay wrote:
    I, too, am a hardcore fan of jEdit. It's nice to finally see some user
    support on this forum. :-)
    >
    >
    The biggest problem I have with anything written in Java is the long
    startup time. The editor may be great but the platform is mediocre.
    >
    I am a SciTE bigot. I have recently tried SPE and UliPad. UliPad would
    be my second choice and is still installed, but SPE was quickly removed.
    One feature I like about SciTE is being able to position the cursor
    anywhere on a word and hit CTL-F to find the NEXT occurrence.
    >
    With UliPad, you have to select the entire word you want to search for,
    and then when you hit CTL-F -- it first finds the same occurrence you
    selected -- you have to hit F3 to find the next.
    >
    No, in UliPad you can first select the word(double-click the word),
    then press F4 to locate the next position.

    And if you install the newest source version of UliPad, it also
    suplied an enhanced Input Assistant feature, as type some character in
    blank place, it'll popup a list which will match what you type,
    including identifiers, class names, function names, parameters names,
    etc. And there is also a vim-like shortkey, Ctrl+P, Ctrl+Shift+P,
    Ctrl+L, Ctrl+Shift+L(wh ich are in Duplicate menu), they'll match the
    word backward or forward to
    current position, you can try it.
    I think SciTE is better engineered. Still, much of your choice is
    personal preference. I have noticed that any two people using the same
    editor will use different keystroke and mouse sequences when presented
    with similar editing problems.
    >
    Good discussion - I thank the originator of the thread.
    >
    Roger
    >
    >
    >
    --

    >

    --
    I like python!
    My Blog: http://www.donews.net/limodou
    UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad
    UliPad Maillist: http://groups.google.com/group/ulipad

    Comment

    • OKB (not okblacke)

      #47
      Re: Looking for the Perfect Editor

      What I'm interested in knowing is whether anyone has found any
      editor other than TextPad and UltraEdit which allows soft word-wrap (no
      line breaks stored in the file) which do NOT wrap the text to the left
      edge of the screen but instead wrap it back only as far as the
      indentation level of the beginning of the line. So that if I start out
      on a line indented halfway across the screen, and the line wraps, I get
      a block of text, all of which is indented halfway across the screen --
      but then it's saved in the file as one long line. In other words, an
      editor that separates how the text is DISPLAYED from how it's SAVED.

      --
      --OKB (not okblacke)
      Brendan Barnwell
      "Do not follow where the path may lead. Go, instead, where there is
      no path, and leave a trail."
      --author unknown

      Comment

      • Jorge Godoy

        #48
        Re: Looking for the Perfect Editor

        "OKB (not okblacke)" <brenNOSPAMbarn @NObrenSPAMbarn .netwrites:
        What I'm interested in knowing is whether anyone has found any
        editor other than TextPad and UltraEdit which allows soft word-wrap (no
        line breaks stored in the file) which do NOT wrap the text to the left
        edge of the screen but instead wrap it back only as far as the
        indentation level of the beginning of the line. So that if I start out
        on a line indented halfway across the screen, and the line wraps, I get
        a block of text, all of which is indented halfway across the screen --
        but then it's saved in the file as one long line. In other words, an
        editor that separates how the text is DISPLAYED from how it's SAVED.
        WYSINWYG -What You See Is Not What You Get...

        It doesn't make much sense to me, though. With Emacs I get the wrapping the
        way you want, but it really breaks the lines.

        --
        Jorge Godoy <jgodoy@gmail.c om>

        Comment

        • stu

          #49
          Re: Looking for the Perfect Editor


          OKB (not okblacke) wrote:
          What I'm interested in knowing is whether anyone has found any
          editor other than TextPad and UltraEdit which allows soft word-wrap (no
          line breaks stored in the file) which do NOT wrap the text to the left
          edge of the screen but instead wrap it back only as far as the
          indentation level of the beginning of the line. So that if I start out
          on a line indented halfway across the screen, and the line wraps, I get
          a block of text, all of which is indented halfway across the screen --
          but then it's saved in the file as one long line. In other words, an
          editor that separates how the text is DISPLAYED from how it's SAVED.
          >
          jEdit.. cough.. does this just fine... sticky indent without adding
          linebreaks...
          or you can have sticky indent with linebreaks... its up to you

          -stu

          Comment

          • David J. Braden

            #50
            Re: Looking for the Perfect Editor

            Wildemar Wildenburger wrote:
            >Hi Stu und "Willie",
            >>
            <<snip>>
            >
            >I don't yet know what jython is about, or for, but I'm up for trying
            jedit for python.
            jython is an implementation of python in java (hence the name ;)). That
            means it's a python interpreter inside a java virtual machine (groan).
            It basically lets you write java apps in python syntax. It's currently
            at python 2.1 I believe.
            jEdit is extensible though java, and with the jython plugin also through
            python.
            Thanks. That helps me get a sense of the landscape.
            >
            >Which plugins give me a good start for scientific stuff?
            Er ... I don't know. What do you mean by 'scientific stuff'?
            I've come to sense, in the last (many) threads and topics brought up
            that I have read in the last 3 weeks, that this NG attracts folks who
            are very much into the web-app interface potential and usefulness of
            Python, as you yourself seem to be (see following), and others, such as
            I, who appreciate its power for technical apps, such as hard-core stats,
            optimization, and integration with even more sophisticated off-the-shelf
            apps, as well as home-brewed stuff, hopefully even original algorithms.
            I have seen, several times in this NG, references to "scientific
            stuff". I take it to mean apps meant for, or used by, folks in
            engineering, physics, applied mathematics, exploratory theoretical stats
            and practical applied stats (at a very high level) --- these users have
            PhDs in areas dealing with "scientific stuff". What's *your* view take
            on this?
            You might want to look at python packages such as scipy (?) or numpy
            (for numerical calculations) or whatever those are called.
            "Whatever those ..." ?!? Maybe this clarifies my response.

            I think you
            can hook up python to Matlab, Scilab or Mathematica, but don't take my
            word for it. I don't use any of this, so I cannot really tell you more.
            None of this is jEdit specific though. Can you clarify?
            Thanks. I hope to very soon. Potential interactions with other APIs are
            keeping me up nights. I could use your help on one of these in the near
            future.
            >
            >I am not interested in Web/html apps.
            Too bad, that's the future ;).
            For whom?!? When? Been to a so-called 3rd-world country for an extended
            period yet? Think Angola, Chad, ...
            >
            >And is there an IDE out there that lets us create GUI dialogs along
            >the lines of what MS provides with Excel and, I assume, VB?
            Stani's Python Editor (SPE) and Boa Constructor, I think. I've tried SPE
            a few years back and liked it a lot.
            Great! I'll give it a try.
            If you only ever write python code you might want to forget about jEdit
            and use one of the two above. jEdit is dubbed 'Programmer's Text
            Editor', and as such provides a 'unified' framework for many languages
            (so you don't have to learn a new editor for every damn language you
            write in once in a blue moon). It is for that reason a /tad/ less
            specialized (though highly configurable). If you still want to use
            jEdit, there is wxGlade for wxPython out there and Glade (not wxGlade!)
            works for pyGTK, I believe.
            Hope that helps you deciding.
            Very much so, and many thanks. My only languages are C and VBA, and the
            environments of R and Mathematica (hey, I'm ancient).
            "Willie" ;)
            lol

            DaveB

            Comment

            • Ramon Diaz-Uriarte

              #51
              Re: Looking for the Perfect Editor

              On 9/15/06, Wildemar Wildenburger <wildemar@freak mail.dewrote:
              Ramon Diaz-Uriarte wrote:
              c) can run programs right from within
              But of course. And, contrary to some others (e.g., JEdit, which I
              think forces you to use Jython, so you are stuck with Python 2.1 for
              now) you use the current python interpreter you have installed.
              >
              Wrong. But so terribly wrong ;). Jython is not at all needed to use
              python with jEdit. I think the only reason to actually use Jython in
              OK, so I stand corrected. However:

              - I did not want to imply that you need Jython for editing Python with
              JEdit. JEdit can eidt Python files without Jython, of course.

              - I was referring to executing arbitrary sections of a Python file in
              a Python interpreter in an "integrated way". When I tried JEdit, I
              think that Jython was the way to go. (And I think this was also the
              case for a while, at least to judge from D. Metrz's review


              The console plugin (probably THE most useful of the pack) gives you a
              system shell and means to start compilers/interpreters based on your
              But isn't this a "generic console": you go to the console, and then
              type "python2.3" or "python2.4" or whatever? How do you send arbitrary
              selections of Python code from the file you are editing to this shell?
              Is there a way to mark a section of code and have it evaluated by the
              python interpreter? Or a function definition?


              R.

              Comment

              • Ramon Diaz-Uriarte

                #52
                Re: Looking for the Perfect Editor

                On 9/15/06, David J. Braden <dbraden@invali d.addwrote:
                Wildemar Wildenburger wrote:
                (...)
                jEdit is extensible though java, and with the jython plugin also through
                python.
                >
                Thanks. That helps me get a sense of the landscape.
                As an emacs user, this is a clear plus for JEdit (and for vim, for that matter).
                >
                Very much so, and many thanks. My only languages are C and VBA, and the
                environments of R and Mathematica (hey, I'm ancient).
                If the "R" you refer is the statistical environment, "GNU S", then you
                probably want to check Emacs (with ESS): you get an integrated
                environment where you can edit code, submit code pieces (lines,
                regions, buffers, functions, etc) to a running R process (which looks
                like another Emacs buffer), opening R help in another buffer (with
                the possibility of executing the example in the R process), clean up a
                transcript of an R session to keep only the code, etc, etc, etc.
                Moeover, you get a "smart" edition of Sweave (noweb literate
                programming), where emacs knows when you are in a LaTeX part and when
                you are in an R code chunck.

                Alternatively, in the Windoze world, you might want to check Tinn-R,
                which, regarding R, provides some similar functionality, and I think
                it is also very nice for Python, LaTeX, etc.

                HTH,

                R.

                --
                Ramon Diaz-Uriarte
                Bioinformatics Unit
                Spanish National Cancer Centre (CNIO)

                Comment

                • Wildemar Wildenburger

                  #53
                  Python for science (was: Re: Looking for the Perfect Editor)

                  David J. Braden wrote:
                  I've come to sense, in the last (many) threads and topics brought up
                  that I have read in the last 3 weeks, that this NG attracts folks who
                  are very much into the web-app interface potential and usefulness of
                  Python, as you yourself seem to be (see following), and others, such as
                  I, who appreciate its power for technical apps, such as hard-core stats,
                  optimization, and integration with even more sophisticated off-the-shelf
                  apps, as well as home-brewed stuff, hopefully even original algorithms.
                  I have seen, several times in this NG, references to "scientific
                  stuff". I take it to mean apps meant for, or used by, folks in
                  engineering, physics, applied mathematics, exploratory theoretical stats
                  and practical applied stats (at a very high level) --- these users have
                  PhDs in areas dealing with "scientific stuff". What's *your* view take
                  on this?
                  >
                  I use python purely for personal coding, so I cannot give you much
                  advice on scientific use of python. I understand however that it is very
                  much used for what you describe. I still don't know what you're asking
                  exactly, so I hope that's what you wanted to hear.

                  >You might want to look at python packages such as scipy (?) or numpy
                  >(for numerical calculations) or whatever those are called.
                  >
                  "Whatever those ..." ?!? Maybe this clarifies my response.
                  Scipy: http://www.scipy.org/
                  Numpy: http://numpy.scipy.org/ (maybe that explains my confusion ;))
                  Scientific Python: http://sourcesup.cru.fr/projects/scientific-py/

                  Better?
                  Thanks. I hope to very soon. Potential interactions with other APIs are
                  keeping me up nights. I could use your help on one of these in the near
                  future.
                  By 'you' you certainly mean the newsgroup, right? 'Cause I know nothing
                  of that.
                  >>I am not interested in Web/html apps.
                  >Too bad, that's the future ;).
                  >
                  For whom?!? When? Been to a so-called 3rd-world country for an extended
                  period yet? Think Angola, Chad, ...
                  I. Was. Kidding.
                  Sort of ... :)
                  Seriously: Many people use it for the web, because python is just so
                  darn good at it. An there is a trend towards web-based apps. There's n
                  denying that.
                  Are you telling me that in, say, Angola they only use python for their
                  hardcore scientific calculations? I don't quite get that argument.
                  Though I understand your angle.

                  I'm out
                  wildemar

                  Comment

                  • Wildemar Wildenburger

                    #54
                    Re: Looking for the Perfect Editor

                    Ramon Diaz-Uriarte wrote:
                    - I was referring to executing arbitrary sections of a Python file in
                    a Python interpreter in an "integrated way". When I tried JEdit, I
                    think that Jython was the way to go. (And I think this was also the
                    case for a while, at least to judge from D. Metrz's review

                    >
                    >
                    >The console plugin (probably THE most useful of the pack) gives you a
                    >system shell and means to start compilers/interpreters based on your
                    >
                    But isn't this a "generic console": you go to the console, and then
                    type "python2.3" or "python2.4" or whatever? How do you send arbitrary
                    selections of Python code from the file you are editing to this shell?
                    Is there a way to mark a section of code and have it evaluated by the
                    python interpreter? Or a function definition?
                    Ahh, I see. Well, you're right, that is not that easily possible. But
                    you know what? I've never missed such functionality; the "if __name__
                    ...." trick always sufficed for me. Buts thats taste of course, lets not
                    debate that.
                    So OK, jEdit is not that 'integrated' after all. Oh well ...

                    :)
                    wildemar

                    Comment

                    • Ramon Diaz-Uriarte

                      #55
                      Re: Looking for the Perfect Editor

                      On 9/15/06, Wildemar Wildenburger <wildemar@freak mail.dewrote:
                      Ramon Diaz-Uriarte wrote:
                      - I was referring to executing arbitrary sections of a Python file in
                      a Python interpreter in an "integrated way". When I tried JEdit, I
                      think that Jython was the way to go. (And I think this was also the
                      case for a while, at least to judge from D. Metrz's review


                      The console plugin (probably THE most useful of the pack) gives you a
                      system shell and means to start compilers/interpreters based on your
                      But isn't this a "generic console": you go to the console, and then
                      type "python2.3" or "python2.4" or whatever? How do you send arbitrary
                      selections of Python code from the file you are editing to this shell?
                      Is there a way to mark a section of code and have it evaluated by the
                      python interpreter? Or a function definition?
                      >
                      Ahh, I see. Well, you're right, that is not that easily possible. But
                      you know what? I've never missed such functionality; the "if __name__
                      ..." trick always sufficed for me. Buts thats taste of course, lets not
                      debate that.
                      Thanks for the clarification. (And no, I won't debate that: the choice
                      of editor is (and should be) very much a matter of personal taste, and
                      JEdit is certainly a very fine and interesting editor).


                      Best,

                      R.

                      Comment

                      • Patrick Thomson

                        #56
                        Re: Looking for the Perfect Editor

                        Personally, I use the non-free but absolutely phenomenal TextMate
                        (http://macromates.com/), but I've enjoyed my work with jEdit
                        (http://www.jedit.org/) and, of course, (X)Emacs.

                        Comment

                        • BartlebyScrivener

                          #57
                          Re: Looking for the Perfect Editor

                          >which allows soft word-wrap (no
                          >line breaks stored in the file)
                          gvim 7.0

                          if you set wrap and linebreak

                          :set wrap

                          :set lbr

                          The lines will softwrap only at whitespace and various punctuation
                          marks.

                          For the indentation issue, use autoindent.

                          rd

                          Comment

                          Working...