SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2004
    Location
    NJ
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Scriptable Text Editor

    Has anyone heard of a decent text editor that uses php as it's internal scripting language. Up until now, I've been using NoteTab Pro but the clipbook scripting is a little cumbersome to say the least.

  2. #2
    SitePoint Wizard HarryR's Avatar
    Join Date
    Dec 2004
    Location
    London, UK
    Posts
    1,376
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    Embedding PHP as a scripting language within any application can be rather hard due to the way PHP is implemented (although it would be possible).

    There are quite a few editors with their own built-in scripting languages, my favourite has to be Crisp. The scripting language they have embedded makes it possible to do just about anything.

    Another possibility is jEdit which allows you to write plugins using Java.

  3. #3
    SitePoint Enthusiast
    Join Date
    Aug 2004
    Location
    NJ
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's about what I thought. It really is a shame that NoteTab has such an awkward scipt feature.

  4. #4
    SitePoint Zealot
    Join Date
    Jun 2004
    Location
    Norway - Oslo
    Posts
    198
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I havent heard of any no.
    If you really want one start a sf project for it and start working on it.

  5. #5
    SitePoint Guru dagfinn's Avatar
    Join Date
    Jan 2004
    Location
    Oslo, Norway
    Posts
    894
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A rather limited way to do it is to run an operating system command, if possible. In Vim, I would do something like this:

    :'<,'>!php script.php

    Which would process the selected lines through script.php. I've done this a few times, but I prefer using built-in programming languages.
    Dagfinn Reiersøl
    PHP in Action / Blog / Twitter
    "Making the impossible possible, the possible easy,
    and the easy elegant"
    -- Moshe Feldenkrais


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •