Shop OBEX P1 Docs P2 Docs Learn Events
Anyone using UltraEdit here? — Parallax Forums

Anyone using UltraEdit here?

CounterRotatingPropsCounterRotatingProps Posts: 1,132
edited 2009-10-25 10:03 in Propeller 1
Since I use this editor a lot in my daily work, it's not uncommon for me to have a Prop file or two lurking in the doc list [noparse]:)[/noparse]
I'd consider writing a PASM/SPIN lexer for UE if enough of us are using it.

- H

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔

Comments

  • TrapperBobTrapperBob Posts: 142
    edited 2009-10-18 22:39
    I use UltraEdit a lot. I'd love to have a SPIN/PASM lexer. It's on my list of things to do,but honestly is very low
  • QuattroRS4QuattroRS4 Posts: 916
    edited 2009-10-18 22:50
    Yip I use it too ..

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    'Necessity is the mother of invention'

    'Those who can, do.Those who can’t, teach.'
    'Convince a man against his will, he's of the same opinion still.'

    ·
  • Clock LoopClock Loop Posts: 2,069
    edited 2009-10-19 00:03
    Would be nice.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    TERMS OF USE: MIT License

    "Permission is hereby granted, free of charge, to any pers...........................
    ..............................OMITTED FOR FORUM...............................................
    .................. OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. "

    The dsp/fpga king is dead, long live the prop.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2009-10-19 00:16
    I use UltraEdit all the time on Windows, mainly for Perl, HTML, and general text editing. (On the Mac, I use TextWrangler.)

    -Phil
  • trodosstrodoss Posts: 577
    edited 2009-10-19 02:17
    Where I work, we used to use·UltraEdit or Eclipse.· The mandate· is that we are now to·use·Visual Studio for development/editing.· I really liked UE though--especially when browsing extremely huge (> 10MB) log files.· I did though sneak Notepad++ on my PC at work [noparse];)[/noparse]·
  • beebsbeebs Posts: 20
    edited 2009-10-19 15:28
    I also use UE for all my editing at work.
    It'd be great to have a lexer for SPIN/PASM.
  • mikedivmikediv Posts: 825
    edited 2009-10-19 23:29
    Wow I thought I was the only one using it which Rev are you guys using there are so many I am using 15 somehting. CounterRP that would a nice add on.
  • CounterRotatingPropsCounterRotatingProps Posts: 1,132
    edited 2009-10-20 15:39
    Thanks for all the replies, folks!

    good to see we are some 'power users' here.

    OK... if a couple more people chime in, then I'll start working on this... long term thing ... weeks, not days. I'm looking into adding some toolbar icons, may be some scripts... would be cool to dump the edited file into Brad's BST, or the prop tool... both of which probably (likely) don't support OLE automation... I can do this grabbing the window handles, but that's a bit of a Kludge.

    @Mikediv - I try to stay current because the IDM guys keep adding new features. Actually, I'm using UE Studio (which contains UE.) It's the latest version = 09.20.0.1007, which probably contains the latest UE too.

    Unless the version you have is really old (> 3/4 yrs?) this will probably work with it, perhaps sans scripting. Not sure, we'll just have to test it.

    More takers?
    thanks
    - H

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • CounterRotatingPropsCounterRotatingProps Posts: 1,132
    edited 2009-10-20 22:40
    UE has a precious, limited resource. So a follow up question, please:

    Under the 'Advanced' menu option you can manually launch a DOS or WinGUI command (they're essentially the same, just tweeked a bit different).

    But you can also save these, like this:

    Advanced -> Tool Configuration ->Insert->[noparse][[/noparse]user configurable shell command]

    The problem is that you're allowed only TEN of them, which show up in the menu under advanced.

    I am considering using TWO of them for a tool extension... so
    How many of you are approaching the TEN entry limit?

    thanks
    - H

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2009-10-20 23:09
    'Didn't know that feature was available. I just scan through the history list for the one I need, then it comes to the top. From there it's just F9 and Enter until I need a different one. (I guess that disqualifies me as a "power user", doesn't it?. smile.gif )

    -Phil
  • mikedivmikediv Posts: 825
    edited 2009-10-21 00:50
    CRP I actually have a few different versions but you are right these guys are constantly updating probably a good thing but they should put a check for updates feature built in like so many other programs, CPR is this a freeware program ??
    I have so much software from work I loose track becuase if its ok I can get the latest download to post ?????
  • StefanL38StefanL38 Posts: 2,292
    edited 2009-10-21 06:28
    I use UE too.

    How about combining it with autohotkey ?

    With autohotkey you can define application sensitive hotkeys. And the scripting language is extremely powerful
    you can even code a GUI with as many windows as you like.

    So one solution COULD be (surely not the best) hit ONE hotkey in UltraEdit and a window pops up with new and as many options as you like.
    To:
    - call external programs
    - or copy to clipboard,
    - do mouseclicks
    - send keystrokes to whatever app-window you want,
    - manipulate the content of the clipboard
    - paste it to whatever app into whatever iputfield you want etc., etc. etc. etc

    I already made some scripts to improve BST and the propeller-tool
    like context-sensitive help or search word under cursor. See the attached file.


    best regards

    Stefan
  • BradCBradC Posts: 2,601
    edited 2009-10-21 07:00
    CounterRotatingProps said...
    would be cool to dump the edited file into Brad's BST

    Dump the file to a temporary location on the hard disk, or better still just pass the current location of that file. Execute bst with the absolute file name as the only parameter (put it in quotes if it has spaces in it). If its running, bst will open the file in a new editor tab. If not then it will just launch with that file.

    The issue with dumping text directly into the editor is the editor has no context of where it came from, so it does not know where to find any referenced objects that are co-located with the original object. Opening the file using a full path name solves that problem.

    Of course if the editor in bst is so crippled as to force you to use an external editor then I'm always open to suggestions on how it can be improved. Stefan has already provided me with some neat ones I'm working towards.

    Your other option is to use UE as your workspace and just have it compile/load using Propellent or bstc. No need for bst at all.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    lt's not particularly silly, is it?
  • CounterRotatingPropsCounterRotatingProps Posts: 1,132
    edited 2009-10-21 15:07
    PhiPi>Didn't know that feature was available
    Well, Phil, as I'm always learning from your posts, I'm glad to return the favor in showing you something you didn't know already. [noparse]:)[/noparse])
    It's really handy just to hit F10 & enter ... or ^+F9, depended on Wingui/DOS respectively.

    @Mikediv - no unfortunately it's not freeware. The versions from several years ago to now offer a seemless update checker/installer.

    @Stefan - very very cool app! It reminds me of an old "autoprogrammer robot" from early dos and win days (daze).
    How stable is it? Often stuff that messes with window handles gets confused. I'll certainly study that code and the application.

    @Brad - thanks for your humbleness in saying "no need for bst at all" ... I came to the same conclusion yesterday after getting the propellent thing working properly. Still, I like bst alot - and I know others do too.

    This connection between UE and BST specifically was the reason for asking about OLE in the Who'll Stop The Rain thread. Turns out that it's even simplier than your suggestion immediately above. As you've seen here, UE supports launching DOS/Win apps. It can pass many internal parameters, e.g. short/full file pathname, file in edit window, yada yada. UE creates the temp file and tracks it for you. Once sent over to the "Prop Interface," BST is more behaved, or better said, more cooperative than the PropTool. If I edit the file, send it over, then BST will notice the update and refresh. The Proptool is a tad dumber - you have to close the tab before sending the newly edited file from UE to it, otherwise it doesn't refresh. The Propellent thing works fine in anycase.

    So the (short-term) goal with this is to offer a menu or tool that basically gives you the choice of where/how to send your file from UE. ... something like "select/send to your favorite Prop Interface:"

    1. BST
    2. PropTool
    3. Propellant (just load straight to prop please)
    4. Viewport
    (long-term is still a Lexer)

    Suggestions / comments / requests welcome
    - H

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • StefanL38StefanL38 Posts: 2,292
    edited 2009-10-21 22:14
    @CRP (hope this TLA (Three Letter Acronym) is OK

    I use Autohotkey for different softwares
    - Propeller-Tool, BST
    - OpenOffice
    - Thunderbird
    - GIMP
    - Speq Math

    start UE on hotkey

    No problems so far. (Except you code bugs like send a keystroke and catch up the same key with another part of the script)

    A really cool script is this one Easy window dragging
    Hold the caps-lock-key down and drag windows regardless of where the mousepointer is.

    best regards

    Stefan
  • Stephen MoracoStephen Moraco Posts: 321
    edited 2009-10-25 10:03
    (quietly ignoring all the UE feature help...)

    I'll simply say I've been a user for a really looonnng time...
    It's on all machines and u3 flash drives which I use
    frequently... anything you do for propeller dev. assist,
    I'll use!

    -Stephen
Sign In or Register to comment.