Sign in to follow this  
Followers 0
ericdexter

looking for free text editors with insert text

12 posts in this topic

I ran some tests in notepad and in gvim and I believe that gvim is not script friendly. What would be the easiest text editor to script with autoit that would allow me to

1) insert text from an outside file

2) search function

3) save file

perferbly using ctl or alt as an option to use said functions

perferbly with a licence that isn't restrictive i.e. allow me to do anything I want with it.

I promise to give back some intresting scripts to work with csound in return. thanks for

the help in advance

https://sourceforge.net/projects/dex-tracker

Share this post


Link to post
Share on other sites



Hi,

Scite?

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Hi,

Scite?

So long,

Mega

It does look easy to use but it doesn't appear to do what vim does i.e. allow you to input a text file in another text file.. thanks for the suggestion. I noticed something called midform but it has a restrictive copyright but he may allow use.. it would be a pain to require the users to download it themselves.

Edited by ericdexter

Share this post


Link to post
Share on other sites

What do you mean insert text from an outside file? Whatever happened to opening said file in notepad and copy / paste?

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

What do you mean insert text from an outside file? Whatever happened to opening said file in notepad and copy / paste?

I am trying to keep with the moto of kiss (keep it simple stupid.. stupid meaning me and I don't want to learn to much and I can use whatever editor I want) here is an example of the text sorta but not realy

this is a block of text that means nothing

HERE IS WHERE I WANT TO INSERT THE STRINGS.ORC TEXT FILE THAT IS ON MY DISK

this is more text that means nothing

the steps to do that in gvim is (gvim isn't easy or possible to work with one of the two)

/<start> (denotes a search so it goes to the word after the slash)

/<endin> (another search goes to the end of the instrument

:r filename (this reads the file name and inserts it into the file.

I have an example script that I did in an editor that I can not distribute posted to the csounds

general mailing list that probily needs alot of work ( http://www.csounds.com )

http://www.nabble.com/example-autoit-scrip...-tf4074009.html

there are probily alot of places it could be improved but this is my first script. If you want to look at

the program it is to be distributed with it is at https://sourceforge.net/projects/dex-tracker

It is probily more complex than people want to look at but has a cool beta picture.

I am still looking for an editor that will script that I can give away copies of

Edited by ericdexter

Share this post


Link to post
Share on other sites

Why don't you use the FileRead and FileWrite AutoIt functions to edit the files instead of using an external editor?

Those will surely fit what you need.

Share this post


Link to post
Share on other sites

But aren't you using this to include text in your source code? Why aren't you just using:

#include "[path\]filename"

#include <filename>

Share this post


Link to post
Share on other sites

But aren't you using this to include text in your source code? Why aren't you just using:

#include "[path\]filename"

#include <filename>

I am using it to load text into "source code" after I have slightly modified it.. csound is a little different so I have to load the code in

https://sourceforge.net/projects/dex-tracker

Share this post


Link to post
Share on other sites

Why don't you use the FileRead and FileWrite AutoIt functions to edit the files instead of using an external editor?

Those will surely fit what you need.

I will look into that. Maybe I can us FileRead and then use the search in notepad to get my position and then write it out.. thanks for the sugestion.

https://sourceforge.net/projects/dex-tracker

Share this post


Link to post
Share on other sites

I ran some tests in notepad and in gvim and I believe that gvim is not script friendly. What would be the easiest text editor to script with autoit that would allow me to

1) insert text from an outside file

2) search function

3) save file

perferbly using ctl or alt as an option to use said functions

perferbly with a licence that isn't restrictive i.e. allow me to do anything I want with it.

I promise to give back some intresting scripts to work with csound in return. thanks for

the help in advance

https://sourceforge.net/projects/dex-tracker

ConText http://www.context.cx/

Ralph

Share this post


Link to post
Share on other sites

looks like a cool editor

I did some major surfing (for comand line editors) it looks like sed might do it with popen (now that unix works on windows I am spoiled)

sed -e '/[;<instr1]' -e '/[;<endin>]/{r strings.orc}' bay-at-night.csd

I am probily not going to be that lucky..... I saw the screen capture but didn't see any other killer apps

a music program might want right away besides self scripting (a cool concept in itself).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0