[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Preview for afl file-window



PureBytes Links

Trading Reference Links

One of the features I use in Textpad to locate some code is the "Find in
Files":
 
If I'm looking for a piece of code I can usually remember a small snippet
and using the above I type that in and then specifiy a folder to search in.
Textpad will then examine each file and look for that exact snippet and then
list the line in each file that contains the snippet.  Once finished listing
I can then double click that line and it will load the entire file into
another window and postion the code to the line in question.  As my memory
fades into the sunset I find myself using it more frequently.
 
d


  _____  

From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of Joe Landry
Sent: Friday, July 21, 2006 7:37 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Preview for afl file-window


Hello Herman  - Several of us in the Houston community use Textpad editor
(we got into this mode in using another product, - TRADE with FastTrack) to
open/close multiple files.  It has a nice feature that it displays the
opened files tree, with text shading to indicate what's been changed, saved
etc. 
 
For example if I want to open multiple files I can select these 10 files as
I would in Windows mode by holding the shift key while selecting.  All files
are opened  with the first one in display.  It's now easy to toggle from one
window to the other to bring the focus to the file I want displayed.  It has
what I'll call syntax color coding that can be customized.  It has a full
function Search - find, find in files, find and replace, find next, find
previous etc.  
 
When the forum was kicking around ideas about the editor I suggested that
Tomasz add this kind of function  for the AB editor. Of course it would be
preferable to have that function in AB, because what I miss sorely by using
TextPad is the precompiler and syntax checker.  Tomasz did enhance the AB
editors search/replace function and as he pointed out you can open multiple
instances of the editor and float them around the screen if you have enough
real estate.
I think the problem of finding the correct file by sorting out the
names/version in each opened editor window is one of the challenges. Maybe
having a tab
strip showing opened file (something available in TextPad also. 
 
Oh and I forgot to mention the ability to turn on/off line numbering 
 
Bottom line - I'd like to have most of the features of Textpad but not at
the expense of delaying other AB features, like enhancements to the
portfolio program. 
 
We should put this in the suggestion area as a help to Tomasz
 
Best regards
JOE  
 
 

----- Original Message ----- 
From: Herman <mailto:psytek@xxxxxxxx>  
To: AmiBroker YahooGroups <mailto:amibroker@xxxxxxxxxxxxxxx>  
Sent: Friday, July 21, 2006 3:43 AM
Subject: [amibroker] Preview for afl file-window



Hello,

Would anyone know how to add a preview window to the file-window for the afl
formula editor?

This relates recent edits. During development I writes lots of small pieces
of code to test various ideas and I save many for later reference. 

The problem is that even though I try to give them meaningful names I have a
very difficult time to find and retrieve code fragments that I know I wrote
but for which I don't know in which file they resides. This means i have to
open up 10-20 recent files to find a particular piece of code I need. If i
could see a preview of the file when I select it in the File menu I would be
able to see immediately whether i have the right file or not without
actually having to open/close the file each time.

This is not a problem for historical work as I collect all code in
InfoSelect, however i only do that about once a week.

Any ideas would be appreciated!

herman