Search the web
Sign In
New User? Sign Up
thecredit · CREdit text editor
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1 - 33 of 106   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#33 From: Plamen Parvanov <plamen_p@...>
Date: Fri Feb 15, 2002 3:34 pm
Subject: Re: Keyword templates
plamen_p
Offline Offline
Send Email Send Email
 
Hello,

this is not available 1.013 :(
btw, the new version should be ready in a month or
so..

about the keyword tooltips, I'm not quite sure of what
use will they be... And they will slow the parsing for
sure..

Best regards,
Plamen Parvanov

--- gui4cli <dck@...> wrote:
> Hi,
>
> I read in a previous post that the new version has a
> feature where
> when the cursor is over a keyword and the user hits
> the F1 key,
> CRedit will open a given help file at the keyword's
> definition (or
> something like that..)
>
> Is this available in v1.013 (which I have) ?
> If not, when approximately will the new version be
> available?
>
> Also, is it possible to add an automation event
> where when a keyword
> is recognised (ie when it becomes colored) this
> event is triggered
> and I can (in some way) provide a template for this
> keyword which
> will be shown as a tooltip (like Visual C++ does for
> C functions) or
> in the status bar or somewhere else..
>
> Or maybe the templates can be incorporated with the
> syntax
> highlighting dialog - ie add a keyword and its
> template. It would be
> very helpful..
>
> Thanks
> D. Keletsekis
> www.Gui4Cli.com
>
>


__________________________________________________
Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail
http://mail.yahoo.com

#32 From: Plamen Parvanov <plamen_p@...>
Date: Fri Feb 15, 2002 3:29 pm
Subject: Re: Read-only issue
plamen_p
Offline Offline
Send Email Send Email
 
Hi,

Normally, CREdit should check if the file is
read-only, and propoze to make it writable if it's
not.

And you can choose whether making the document
read-only in CREdit also makes the document file
read-only - check the CREdit options...

Best regards,
Plamen Parvanov

--- bmatzelle <bmatzelle@...> wrote:
> Hello Plamen,
>
> The one big issue with CREdit is the way that it
> handles read-only files.  I would prefer that upon
> attempting to save that CREdit re-checks if the file
> is read only.  Now, I am forced to close and re-open
> a file every time I want to edit it, even though I
> may have set it to writable outside of the editor.
> Also, when un-checking the Read-only check box in
> the file properties it should also change the file
> to writable and allow me to save it.  These changes
> would be extremely helpful to me.
>
> Warm regards,
>
> Brent
>
>


__________________________________________________
Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail
http://mail.yahoo.com

#31 From: "gui4cli" <dck@...>
Date: Fri Feb 15, 2002 9:09 am
Subject: Keyword templates
gui4cli
Offline Offline
Send Email Send Email
 
Hi,

I read in a previous post that the new version has a feature where
when the cursor is over a keyword and the user hits the F1 key,
CRedit will open a given help file at the keyword's definition (or
something like that..)

Is this available in v1.013 (which I have) ?
If not, when approximately will the new version be available?

Also, is it possible to add an automation event where when a keyword
is recognised (ie when it becomes colored) this event is triggered
and I can (in some way) provide a template for this keyword which
will be shown as a tooltip (like Visual C++ does for C functions) or
in the status bar or somewhere else..

Or maybe the templates can be incorporated with the syntax
highlighting dialog - ie add a keyword and its template. It would be
very helpful..

Thanks
D. Keletsekis
www.Gui4Cli.com

#30 From: "bmatzelle" <bmatzelle@...>
Date: Thu Feb 14, 2002 4:57 pm
Subject: Read-only issue
bmatzelle
Offline Offline
Send Email Send Email
 
Hello Plamen,

The one big issue with CREdit is the way that it handles read-only files.  I
would prefer that upon attempting to save that CREdit re-checks if the file is
read only.  Now, I am forced to close and re-open a file every time I want to
edit it, even though I may have set it to writable outside of the editor.  Also,
when un-checking the Read-only check box in the file properties it should also
change the file to writable and allow me to save it.  These changes would be
extremely helpful to me.

Warm regards,

Brent

#29 From: kdz13@...
Date: Mon Nov 5, 2001 3:20 pm
Subject: Re: make tool with output directed
kdz13
Offline Offline
Send Email Send Email
 
OK, i've figured this out...  it is because you do not pass a valid
input handle to CreateProcess (or whatever equivalent function you
call).  Thus when make tries to call DuplicateHandle on it, it fails.

The bug appears not to occur on windows 98.  I've only tested it on
windows 2000, I don't know about NT 4.0 or XP.

thanks,
Keith D. Zimmerman

--- In thecredit@y..., Plamen Parvanov <plamen_p@y...> wrote:
> I've never tried CREdit with GNU make; however it's
> working ok with any other make tool I've tested...
>
> Plamen Parvanov
>
> --- kdz13@p... wrote:
> > when I run GNU make as a tool in CREdit with the
> > output directed to
> > the window, I get this error:
> >
> > process_easy: DuplicateHandle(In) failed (e=6)
> > make.exe: Interrupt/Exception caught (code =
> > 0xc0000005, addr =
> > 0x41bf2a)
> >
> > why?
> >
> >
> > I suspect it is because the output window's
> > redirection of stdout
> > does not work when make tries to redirect to gcc.
> > Would this be
> > correct?  Can it be fixed up?
> >
> > thanks,
> > Keith D. Zimmerman
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com

#28 From: "jonf" <dali_11@...>
Date: Fri Nov 2, 2001 7:45 pm
Subject: CREdit Bug on "Configure Tools"
dali_11
Offline Offline
Send Email Send Email
 
Dear Plamen,
 
I am trying to Configure the command line Tools for Python but without success.
 
For Error patterns, When I am using the following line: (note that 2 space is preceding 'File')
 
  File "$(FileName)", line $(LineNumber)
 
It is working but when I return to CREdit after closing, the 2 space before 'File' is striped out !
 
I also tried to use the $(SkipToken) instead of ' File' but the program crashed !
 
Thanks for any reply
Jon.

#27 From: Plamen Parvanov <plamen_p@...>
Date: Thu Oct 25, 2001 6:18 am
Subject: Re: make tool with output directed
plamen_p
Offline Offline
Send Email Send Email
 
I've never tried CREdit with GNU make; however it's
working ok with any other make tool I've tested...

Plamen Parvanov

--- kdz13@... wrote:
> when I run GNU make as a tool in CREdit with the
> output directed to
> the window, I get this error:
>
> process_easy: DuplicateHandle(In) failed (e=6)
> make.exe: Interrupt/Exception caught (code =
> 0xc0000005, addr =
> 0x41bf2a)
>
> why?
>
>
> I suspect it is because the output window's
> redirection of stdout
> does not work when make tries to redirect to gcc.
> Would this be
> correct?  Can it be fixed up?
>
> thanks,
> Keith D. Zimmerman
>
>


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

#26 From: kdz13@...
Date: Wed Oct 24, 2001 6:12 pm
Subject: make tool with output directed
kdz13
Offline Offline
Send Email Send Email
 
when I run GNU make as a tool in CREdit with the output directed to
the window, I get this error:

process_easy: DuplicateHandle(In) failed (e=6)
make.exe: Interrupt/Exception caught (code = 0xc0000005, addr =
0x41bf2a)

why?


I suspect it is because the output window's redirection of stdout
does not work when make tries to redirect to gcc.  Would this be
correct?  Can it be fixed up?

thanks,
Keith D. Zimmerman

#25 From: Neal Koss <neal@...>
Date: Fri Oct 19, 2001 9:51 pm
Subject: Re: A easy way for moneycredit.
nkoss
Offline Offline
Send Email Send Email
 
Daisy (or whoever you are)

How dare you use this group for your dusgusting advertising and spam!!!

I hope the moderator remoives your name and that Yahoo forbids you to ever
enter another group! You are the worst example of internet trash there is!
Adding insult to injury, I got your message twice!!

At 07:58 PM 10/20/01 +0200, you wrote:
***---------Start Original Message-------------------***
>Hello dear members,
>
>As a starting business women
>i know what it means to have a bad or low credit,
>or to get a lot off bank turndowns.
>I tried many ways finding money for my E-business.
>
>Recently i found a easy and secure way.
>I thougt this could be a excellent tip to share wih you all.
>
>All my groupfriends listen up. You can get the help you need
>right here online for free. You will be able to just enter all your info
>online,
>and have all your debts consolidated into one low monthly fee.
>
>this is the url:
><http://pagina.de/easy-money>http://pagina.de/easy-money
>
>I hope this ill give you some hope.........
>
>
>Greetings from Daisy Shank
>A simple but smart housewife who runs her own E-busines
>
>                  Help the world. have respect for life and
>                  individuals.
>                  Honor and help the victims and their family's.
>
>
>Yahoo! Groups
>Sponsor<http://rd.yahoo.com/M=212180.1660613.3195489.1269402/D=egroupweb/S=1705\
007207:HM/A=812075/R=0/*http://www.verisign.com/cgi-bin/go.cgi?a=b17834980005700\
0>
>
>
>To unsubscribe from this group, send an email to:
>thecredit-unsubscribe@yahoogroups.com
>
>
>
>Your use of Yahoo! Groups is subject to the
><http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
+++---------End of Original Message------------------+++

#24 From: "daisy_shank" <daisy_shank@...>
Date: Sat Oct 20, 2001 5:59 pm
Subject: A easy way for moneycredit.
daisy_shank
Offline Offline
Send Email Send Email
 
Hello dear members,

As a starting business women
i know what it means to have a bad or low credit,
or to get a lot off bank turndowns.
I tried many ways finding money for my E-business.

Recently i found a easy and secure way.
I thougt this could be a excellent tip to share wih you all.

All my groupfriends listen up. You can get the help you need
right here online for free. You will be able to just enter all your info
online,
and have all your debts consolidated into one low monthly fee.

this is the url:
http://pagina.de/easy-money

I hope this ill give you some hope.........


Greetings from Daisy Shank
A simple but smart housewife who runs her own E-busines

                  Help the world. have respect for life and
                  individuals.
                  Honor and help the victims and their family's.

#23 From: "daisy_shank" <daisy_shank@...>
Date: Sat Oct 20, 2001 5:58 pm
Subject: A easy way for moneycredit.
daisy_shank
Offline Offline
Send Email Send Email
 
Hello dear members,

As a starting business women
i know what it means to have a bad or low credit,
or to get a lot off bank turndowns.
I tried many ways finding money for my E-business.

Recently i found a easy and secure way.
I thougt this could be a excellent tip to share wih you all.

All my groupfriends listen up. You can get the help you need
right here online for free. You will be able to just enter all your info
online,
and have all your debts consolidated into one low monthly fee.

this is the url:
http://pagina.de/easy-money

I hope this ill give you some hope.........


Greetings from Daisy Shank
A simple but smart housewife who runs her own E-busines

                  Help the world. have respect for life and
                  individuals.
                  Honor and help the victims and their family's.

#22 From: Plamen Parvanov <plamen_p@...>
Date: Wed Oct 3, 2001 6:43 am
Subject: Re: Unicode
plamen_p@...
Send Email Send Email
 
Hi,

at this time CREdit doesn't support unicode. Sorry!

Plamen

--- ank@... wrote:
> Hi
> does CREdit support unicode textfiles ?
>
> They look strange when I open them with CREdit, but
> maybe here is a
> trick I don't know about so that I can edit them.
>
> Anders
>
>


__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com

#21 From: thomas.ehardt@...
Date: Wed Oct 3, 2001 6:03 am
Subject: Thomas Ehardt is out of the office.
thomas.ehardt@...
Send Email Send Email
 
I will be out of the office starting  09/28/2001 and will not return until
10/22/2001.

Please contact Reisa Christen (reisa.christen@...) or Heidi Self
(heidi.self@...) in my absence.

#20 From: ank@...
Date: Tue Oct 2, 2001 9:48 am
Subject: Re: Unicode
ank@...
Send Email Send Email
 
The first line in the file should look like

Job 'report' : Step 1, 'run script' : Began Executing 2001-09-28
21:00:00

But it displays like

ÿþJ

and the rest of the file is all empty lines in CREdit

Anders

--- In thecredit@y..., "Athon Solo" <netforce_uk@y...> wrote:
> define strange please :)
>
> ----- Original Message -----
> From: <ank@d...>
> To: <thecredit@y...>
> Sent: Tuesday, October 02, 2001 10:31 AM
> Subject: [thecredit] Unicode
>
>
> > Hi
> > does CREdit support unicode textfiles ?
> >
> > They look strange when I open them with CREdit, but maybe here is
a
> > trick I don't know about so that I can edit them.
> >
> > Anders
> >
> >
> >
> > To unsubscribe from this group, send an email to:
> > thecredit-unsubscribe@y...
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com

#19 From: "Athon Solo" <netforce_uk@...>
Date: Tue Oct 2, 2001 9:39 am
Subject: Re: Unicode
netforce_uk@...
Send Email Send Email
 
define strange please :)

----- Original Message -----
From: <ank@...>
To: <thecredit@yahoogroups.com>
Sent: Tuesday, October 02, 2001 10:31 AM
Subject: [thecredit] Unicode


> Hi
> does CREdit support unicode textfiles ?
>
> They look strange when I open them with CREdit, but maybe here is a
> trick I don't know about so that I can edit them.
>
> Anders
>
>
>
> To unsubscribe from this group, send an email to:
> thecredit-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

#18 From: ank@...
Date: Tue Oct 2, 2001 9:31 am
Subject: Unicode
ank@...
Send Email Send Email
 
Hi
does CREdit support unicode textfiles ?

They look strange when I open them with CREdit, but maybe here is a
trick I don't know about so that I can edit them.

Anders

#17 From: "Plamen Parvanov" <plamen_p@...>
Date: Sun Sep 16, 2001 7:16 am
Subject: Re: Suggestions
plamen_p@...
Send Email Send Email
 
Hi,

> code templates

Maybe in the future versions (but not in the very next one).

> context-sensitive help:

It's included in the next version.

Best regards,
Plamen Parvanov

----- Original Message -----
From: Patrick Houweling
To: thecredit@yahoogroups.com
Sent: Wednesday, September 12, 2001 7:21 PM
Subject: [thecredit] Suggestions


I've just started using CRedit and for me it's the almost-perfect-editor
I've been looking for! I say almost-perfect, because there's a few things
I'm missing:

* code templates: like the ones in Borland's IDEs and in my previous editor
ConTEXT (www.fixedsys.com/context/). It allows you to define 'abbreviations'
and upon pressing a shortcut key, it expands to a code snippet. Eg if I type
'ifeb' and press Ctrl+J the following code is inserted in the editor:
if (|)
{

}
else
{

}
The | indicates the position of the caret after insertion. Obviously the
templates should be user-definable and language specific.

* context-sensitive help: if my caret is on a keyword and I press F1, the
help file for the current programming language pops up. This feature
requires that the user can specify a .hlp, .htm or .chm

cheers,
Patrick

P.S. I already sent this message to Plamen's personal email address, but I
figured this was a more appropriate place


Yahoo! Groups Sponsor



To unsubscribe from this group, send an email to:
thecredit-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

#16 From: "Patrick Houweling" <houweling@...>
Date: Wed Sep 12, 2001 4:21 pm
Subject: Suggestions
houweling@...
Send Email Send Email
 
I've just started using CRedit and for me it's the almost-perfect-editor I've
been looking for! I say almost-perfect, because there's a few things I'm
missing:

* code templates: like the ones in Borland's IDEs and in my previous editor
ConTEXT (www.fixedsys.com/context/). It allows you to define 'abbreviations' and
upon pressing a shortcut key, it expands to a code snippet. Eg if I type 'ifeb'
and press Ctrl+J the following code is inserted in the editor:
if (|)
{

}
else
{

}
The | indicates the position of the caret after insertion. Obviously the
templates should be user-definable and language specific.

* context-sensitive help: if my caret is on a keyword and I press F1, the help
file for the current programming language pops up. This feature requires that
the user can specify a .hlp, .htm or .chm

cheers,
Patrick

P.S. I already sent this message to Plamen's personal email address, but I
figured this was a more appropriate place

#15 From: "DIMITRIS TSOKAKIS" <TSOKAKIS@...>
Date: Wed Aug 29, 2001 6:37 am
Subject: Re: Jscript codes
TSOKAKIS@...
Send Email Send Email
 
Dear Plamen,
Thank you very much for your reply.
I will try and revert.
Best Regards
Dimitris Tsokakis
--- In thecredit@y..., plamen_p@y... wrote:
> Your problem here is that the code is written at global level (i.e.
> it's not inside a function body).
>
> Any global code is executed just once, when the script engine is
> initialized (e.g on CREdit startup).
> It's not possible to run it again by specifying the macro file name
> in the Tools->Macro dialog.
>
> What you should do is to write a function, e.g. named 'MyFunc',
> include your code in it, and then enter the function name in the
> Macro dialog.
>
> You can check the CREdit web site for some script examples.
>
> Best regards,
> Plamen Parvanov
>
> --- In thecredit@y..., "Dimitris Tsokakis" <TSOKAKIS@O...> wrote:
> > Hi all there,
> > I paste the following Jscript to the main screen:
> >
> > s=new Array();
> > s[0]=0;
> > for(i=1;i<100;i++)
> > {s[i]=i/10-Math.ceil(i/10);}
> >
> > I save it as "saw".
> > I hit then Tools->Macro,
> > write saw at the Macro name
> > hit Run
> > and nothing comes up.
> > Any idea how yo get a result of script?
> > Thank you in advance for any answer
> >
> > Dimitris Tsokakis

#14 From: plamen_p@...
Date: Tue Aug 28, 2001 6:23 am
Subject: Re: Jscript codes
plamen_p@...
Send Email Send Email
 
Your problem here is that the code is written at global level (i.e.
it's not inside a function body).

Any global code is executed just once, when the script engine is
initialized (e.g on CREdit startup).
It's not possible to run it again by specifying the macro file name
in the Tools->Macro dialog.

What you should do is to write a function, e.g. named 'MyFunc',
include your code in it, and then enter the function name in the
Macro dialog.

You can check the CREdit web site for some script examples.

Best regards,
Plamen Parvanov

--- In thecredit@y..., "Dimitris Tsokakis" <TSOKAKIS@O...> wrote:
> Hi all there,
> I paste the following Jscript to the main screen:
>
> s=new Array();
> s[0]=0;
> for(i=1;i<100;i++)
> {s[i]=i/10-Math.ceil(i/10);}
>
> I save it as "saw".
> I hit then Tools->Macro,
> write saw at the Macro name
> hit Run
> and nothing comes up.
> Any idea how yo get a result of script?
> Thank you in advance for any answer
>
> Dimitris Tsokakis

#13 From: "Dimitris Tsokakis" <TSOKAKIS@...>
Date: Sun Aug 26, 2001 3:19 pm
Subject: Jscript codes
TSOKAKIS@...
Send Email Send Email
 
Hi all there,
I paste the following Jscript to the main screen:
 
s=new Array();
s[0]=0;
for(i=1;i<100;i++)
{s[i]=i/10-Math.ceil(i/10);}
 
I save it as "saw".
I hit then Tools->Macro,
write saw at the Macro name
hit Run
and nothing comes up.
Any idea how yo get a result of script?
Thank you in advance for any answer
 
Dimitris Tsokakis 

#12 From: "Brent R. Matzelle" <bmatzelle@...>
Date: Wed Aug 15, 2001 5:08 pm
Subject: Re: Saving of open files
bmatzelle@...
Send Email Send Email
 
--- In thecredit@y..., "Battran, Benjamin" <BBPOBox@g...> wrote:
> Ok!
> Sorry the missing function was my fault, but here it is (at
> the end of this message). Put it in the same macro file as  the two other
> procedures.
> The variable PushStack ist defined and set also in the global section
> of this macro file.
>
> To trap the BeforeApplicationShutDown, just create another Procedure
> called 'Application_BeforeApplicationShutDown' in that macrofile
> and call the PushOpenDocs from there. See example:
>
>    Public Sub Application_BeforeApplicationShutDown()
>       Call PushOpenDocs
>    End Sub

Beautiful!  It works great.  Thanks Benjamin!

Brent

#11 From: "Battran, Benjamin" <BBPOBox@...>
Date: Wed Aug 15, 2001 1:50 pm
Subject: RE: Re: Saving of open files
BBPOBox@...
Send Email Send Email
 
>Thanks!  It did work.  However, I had to hack the code a little bit to get
it working.  I needed to give a value ("c:\temp\PushStack.txt") to the
PushStack variable that you call on.  I also needed to comment out "If
UnsavedDocuments() then ..." etc because I do not have the
UnsavedDocuments() function.

I do have one question though.  How do I set PushOpenDocs into the
Application_BeforeApplicationShutDown Event?

Brent



Ok!
Sorry the missing function was my fault, but here it is (at
the end of this message). Put it in the same macro file as  the two other
procedures.
The variable PushStack ist defined and set also in the global section
of this macro file.

To trap the BeforeApplicationShutDown, just create another Procedure
called 'Application_BeforeApplicationShutDown' in that macrofile
and call the PushOpenDocs from there. See example:

    Public Sub Application_BeforeApplicationShutDown()
       Call PushOpenDocs
    End Sub

Regards
Benjamin.


'---------------------------------------------------------------------------
----
Private Function UnsavedDocuments()
'---------------------------------------------------------------------------
----
'Helper function:
'Returns true if any of the open documents has unsaved chages
Dim i
Dim NeedsSave
	 NeedsSave=False
	 for i=1 to Documents.Count
		 If not Documents(i).Saved then
			 NeedsSave=True
			 Exit For
		 End If
	 Next
	 UnsavedDocuments=NeedsSave
End Function

#10 From: "Brent R. Matzelle" <bmatzelle@...>
Date: Wed Aug 15, 2001 1:41 pm
Subject: Re: Saving of open files
bmatzelle@...
Send Email Send Email
 
--- In thecredit@y..., "Battran, Benjamin" <BBPOBox@g...> wrote:
> Hi!
>
> This functionality is already there, just needs to be activated!
> No just seriously, you can get this feature with using two macros,
> i'm posting with this, the one Procedure is called 'PushOpenDocs', which
> will save a list of the currently opened files two a file and another
> one which is called PopOpenDocs, which will try to open the files listed
> in the file created by the first one.
>
> To save the list when closing CREdit, you can call the PushOpenDocs
> procedure
> from the Application_BeforeApplicationShutDown Event.
> To reopen at CREdit startup you can call the PopOpenDocs in the global
> section
> of the macro file in which it is defined.

Thanks!  It did work.  However, I had to hack the code a little bit to get it
working.  I needed to give a value ("c:\temp\PushStack.txt") to the PushStack
variable that you call on.  I also needed to comment out "If UnsavedDocuments()
then ..." etc because I do not have the UnsavedDocuments() function.

I do have one question though.  How do I set PushOpenDocs into the
Application_BeforeApplicationShutDown Event?

Brent

#9 From: "Battran, Benjamin" <BBPOBox@...>
Date: Wed Aug 15, 2001 6:36 am
Subject: RE: Saving of open files
BBPOBox@...
Send Email Send Email
 
Hi!

This functionality is already there, just needs to be activated!
No just seriously, you can get this feature with using two macros,
i'm posting with this, the one Procedure is called 'PushOpenDocs', which
will save a list of the currently opened files two a file and another
one which is called PopOpenDocs, which will try to open the files listed
in the file created by the first one.

To save the list when closing CREdit, you can call the PushOpenDocs
procedure
from the Application_BeforeApplicationShutDown Event.
To reopen at CREdit startup you can call the PopOpenDocs in the global
section
of the macro file in which it is defined.

Hope this helps!
Benjamin.

'---------------------------------------------------------------------------
----
Public Sub PushOpenDocs()
'---------------------------------------------------------------------------
----
'saves wich documents are currently opened
dim fso 'FilesystemObject
dim fl 'File / TextStream Object
Dim i  'Counter

	 set fso=CreateObject("Scripting.FileSystemObject")
	 set fl=fso.OpenTextFile(PushStack,2,true)

	 for i=1 to Documents.count
		 fl.writeline Documents(i+0).FullName
	 next

	 fl.Close

	 Set fso=Nothing

End sub

'---------------------------------------------------------------------------
----
Public Sub PopOpenDocs()
'---------------------------------------------------------------------------
----
'opens all documents, previously saved with PushOpenDocs
dim fso 'FilesystemObject
dim fl 'File / TextStream Object
Dim i  'Counter
Dim psCont
Dim cLines
	 set fso=CreateObject("Scripting.FileSystemObject")
	 if fso.FileExists(PushStack) then
		 If UnsavedDocuments() then
			 Documents.CloseAll dsSaveChangesPrompt
		 Else
			 Documents.CloseAll dsSaveChangesNo
		 End If
		 set fl=fso.OpenTextFile(PushStack,1)
		 psCont=fl.ReadAll
		 fl.Close
		 cLines=Split(psCont,vbcrlf)
		 for i=lBound(cLines) to UBound(cLines)
			 if trim(cLines(i))<>"" then
				 If fso.FileExists(cLines(i)) then
					 Documents.Open clines(i)
				 End if
			 End if
		 next

	 Else
		 MsgBox "No list file found",vbExclamation
	 End if

	 Set fso=Nothing

End sub


-----Original Message-----
From: Brent R. Matzelle [mailto:bmatzelle@...]
Sent: Tuesday, August 14, 2001 10:36 PM
To: thecredit@yahoogroups.com
Subject: [thecredit] Saving of open files


One feature that I find incredibly useful that CR Edit does not have is the
saving of open files.  I am referring to the ability of the program to
"remember" what files I had open in the editor that I did not close when I
closed CR Edit.  Then when the program is run again it automatically tries
to re-open these files.  Could this functionality be added in some future
version?

By the way, when will there be another CR Edit version?  It has been a while
since the last.

Warm regards,

Brent


To unsubscribe from this group, send an email to:
thecredit-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

#8 From: "Brent R. Matzelle" <bmatzelle@...>
Date: Tue Aug 14, 2001 8:35 pm
Subject: Saving of open files
bmatzelle@...
Send Email Send Email
 
One feature that I find incredibly useful that CR Edit does not have is the
saving of open files.  I am referring to the ability of the program to
"remember" what files I had open in the editor that I did not close when I
closed CR Edit.  Then when the program is run again it automatically tries to
re-open these files.  Could this functionality be added in some future version?

By the way, when will there be another CR Edit version?  It has been a while
since the last.

Warm regards,

Brent

#6 From: madhillah@...
Date: Thu Aug 9, 2001 8:44 am
Subject: Re: Open/Save Dialog filter files option problem
madhillah@...
Send Email Send Email
 
Actually, i want CREdit to do the job as mentioned in my previous msg
=))

#3 From: "Ammon Cooke" <ammoncooke@...>
Date: Thu Aug 9, 2001 1:00 am
Subject: Re: long line bug?
ammoncooke@...
Send Email Send Email
 
Yes, I have opened documents with lines too long for CRedit.  I would love to see wordwrap as an available tool
 
Enjoy!!
Ammon
 
----- Original Message -----
Sent: Wednesday, August 08, 2001 4:54 PM
Subject: [thecredit] long line bug?

The front page at http://www.ntfaq.com/ seems to have a line of
length >2000 which CREdit does not render properly.  Can anyone
concur?

On a related note, does anyone see a need for word wrap? I know
CREdit is a programmers' editor and not a word processor.  But not
all code is so nicely formatted, as the above example shows.


To unsubscribe from this group, send an email to:
thecredit-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

#2 From: collins.3@...
Date: Wed Aug 8, 2001 11:54 pm
Subject: long line bug?
collins.3@...
Send Email Send Email
 
The front page at http://www.ntfaq.com/ seems to have a line of
length >2000 which CREdit does not render properly.  Can anyone
concur?

On a related note, does anyone see a need for word wrap? I know
CREdit is a programmers' editor and not a word processor.  But not
all code is so nicely formatted, as the above example shows.

#1 From: madhillah@...
Date: Mon Aug 6, 2001 5:36 am
Subject: Open/Save Dialog filter files option problem
madhillah@...
Send Email Send Email
 
Luckily i can filter files to open from Open Dialog. But, the filters
are pretty useless when saving files in Save Dialog. I have to type
in the extension name to save my new file.

I understand that it is the problem with filter files option in which
each entry may handle more than one extension; for example,
in "C/C++" filter entry, the filter can be like "*.c; *.cpp". So,
which extension should the new file use?

The solution to this problem if there is more than one extension for
an entry. We can separate them automatically; for example, in "C/C++"
filter entry, there will be two new items in the Save Dialog: "C/C++
(*.c)" and "C/C++ (*.cpp)".

Hence, we can still maintain the normal filter option when opening
files by filter in Open Dialog but a different approach when saving
new files in Save Dialog.

So what do u think?

Messages 1 - 33 of 106   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help