AutoHotkey Community

It is currently May 27th, 2012, 4:05 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 81 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
PostPosted: June 5th, 2011, 3:29 pm 
Offline

Joined: May 21st, 2007, 4:47 pm
Posts: 85
buntoro wrote:
Click using mouse does not change Vic's title bar from prompting the correct filename [...] This also happens when selecting filenames using Alt+Ctrl+Z
Partly fixed. I found a solution when using Alt+Ctrl+Z, but not when using mouse click on tab. I will need majkinetor's help for this part.
Edit: Now totally fixed.

buntoro wrote:
If you put empty on "How many characters:" dialog [View - Line lenght], Vic will become irresponsive, and you cannot do anything, nor editing nor moving cursor.
Fixed. Next version will be available soon.

buntoro wrote:
Just out of my curiosity, is there any dedicated website where we can submit any feature request for Vic?
No. This forum is the only place.

buntoro wrote:
Is there any future plan to provide Vic with hex editor support?
No. Sorry, I really don't know how to do this.

Thanks for your bug report and feedback, buntoro.

Regards,

_________________
Normand Lamoureux


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Another glitch
PostPosted: June 6th, 2011, 3:51 pm 
Hi Normand,

Wow... that was fast response. :)

Maybe I will add some more :
1. Tools - Increase Indent (RShift + Tab) and Decrease Indent (Shift + Tab)
Not merely bug, just one to make sure. In Vic, Right Shift + Tab = increase indent and Left Shift + Tab = decrease indent.
Normally, increase indent is achieved by Tab only and Decrease Indent by Shift + Tab (either Left or Right would do). Just a matter of preference that you can ignore though.

2. Tools - Automatic Replacement
- The Automatic replacement dialog has Cancel button, but clicking on it won't do anything nor closing the dialog.
- When clicking on any entry, it will show Modify replacement dialog, shouldn't Modify have to state current condition (Abbreviation and Replacement text in this case)? instead of left them blank?
- And also there is no Cancel button in that dialog, the workaround is to click the red X mark on the window, which causing the previous dialog to alter its position.

3. File - Close (Ctrl + F4)
Everytime closing a file, you will have an incrementing filename : Doc xxx. Try this, open Vic, hold Ctrl + F4, you will get an incrementing Doc xxx filename. Is this expected behavior?

4. Just a small suggestion for Ascii / Ansi Character Map.
Wouldn't it be nicer to have those characters to be listed down with its corresponding ascii number?
example :
65 A
66 B

5. Is there any possibilities on supporting listbox view files (i.e UltraEdit or Textpad) instead of having tab bar to hold the filename? I simply thing, the tab bar is too small to cope up with filename.

For Hex editor,
Actually I'm not familiar with .ahk itself and can't say a lot on how to develop using this language, but still its HiEdit's vital on processing lots of thing. Well, I used to know Sourceforge could invite lots of potential team to develop such a tool. I really hope to see Vic may improve on so many aspects, that hopefully compete with other text editors out there.

Keep up the good work.

Regards,

Buntoro


Report this post
Top
  
Reply with quote  
 Post subject: Re: Another glitch
PostPosted: June 8th, 2011, 12:17 pm 
Offline

Joined: May 21st, 2007, 4:47 pm
Posts: 85
buntoro wrote:
In Vic, Right Shift + Tab = increase indent and Left Shift + Tab = decrease indent.
Normally, increase indent is achieved by Tab only and Decrease Indent by Shift + Tab (either Left or Right would do). Just a matter of preference that you can ignore though.

As far as I know, what you say is a kind of standard and not just a matter of preference. So, I changed my mind. Now, Tab and Shift + Tab work as suited.

buntoro wrote:
The Automatic replacement dialog has Cancel button, but clicking on it won't do anything nor closing the dialog.

Sorry, but on my side, when I use this button, the dialog box is closing as expected.

buntoro wrote:
When clicking on any entry, it will show Modify replacement dialog, shouldn't Modify have to state current condition (Abbreviation and Replacement text in this case)? instead of left them blank?

Sorry, but on my side, when I double-click on an entry, the Modify replacement dialog shows the proper Abbreviation and Replacement texts.

buntoro wrote:
And also there is no Cancel button in that dialog, the workaround is to click the red X mark on the window, which causing the previous dialog to alter its position.

To press Escape is also possible and surely faster than to click on the standard top right close button. I will add a Cancel button for those who prefer to make a click. A larger area will be more usefull.

buntoro wrote:
Everytime closing a file, you will have an incrementing filename : Doc xxx. Try this, open Vic, hold Ctrl + F4, you will get an incrementing Doc xxx filename. Is this expected behavior?

I fixed the code to prevent a unique empty tab to close. Now, incrementing filename works exactly as it does in Microsoft Word (for example).

buntoro wrote:
Just a small suggestion for Ascii / Ansi Character Map.
Wouldn't it be nicer to have those characters to be listed down with its corresponding ascii number?

Good idea. My purpose was to let the user able to copy and paste any character. Specially those who are unavailable on the keyboard. In some other contexts, the user may want to know the number of a specific character or the contrary (which character corresponds to a specific number). Also, some of them may want to know the decimal number, and some others the hexadecimal number. So, I redesign this dialog box to offer all of these possibilities.

buntoro wrote:
Is there any possibilities on supporting listbox view files (i.e UltraEdit or Textpad) instead of having tab bar to hold the filename? I simply thing, the tab bar is too small to cope up with filename.

Perhaps it is possible but, sorry, I really don't know how to achieve this kind of feature.

buntoro wrote:
I really hope to see Vic may improve on so many aspects, that hopefully compete with other text editors out there.

I think users have to choose their text editor according to their specific needs and preferences. My purpose is just to offer a light, fast, free and easy-to-use HTML oriented text editor to those who prefer to handcode their web pages instead of using a wysiwyg software.

buntoro wrote:
Keep up the good work.

Thanks a lot for your suggestions, bug report and interest, Buntoro.

Next version will be available this week-end.
Edit: Version 1.2 is available.


Regards,

_________________
Normand Lamoureux


Last edited by Normand on June 10th, 2011, 2:04 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 10th, 2011, 2:01 pm 
Offline

Joined: May 21st, 2007, 4:47 pm
Posts: 85
Version 1.2 available.
See the first post for the details.
Release notes are at the end of the first post.
Special thanks to Buntoro for his bugs reports and suggestions.

_________________
Normand Lamoureux


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 10th, 2011, 5:13 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Bug :?:
When VIC is the active window you can right click on other programs taskbar or system tray, but it is always the VIC right click menu? Basically no matter where you click you always the get the VIC menu.

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 10th, 2011, 9:53 pm 
Offline

Joined: May 21st, 2007, 4:47 pm
Posts: 85
@hugov
Fixed.
Version 1.2.1 will be available soon.
Thanks for your bug report.

Edit: Version 1.2.1 is available now.

_________________
Normand Lamoureux


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 12th, 2011, 9:12 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
A suggestion:

Add a 'plugin' structure, as an example I've prepared a small mod
http://www.autohotkey.net/~hugov/vic-mod.zip
(look for lines with 'plugins')

- It looks for ahk scripts in a directory called plugins
- It adds these to a plugins menu

To try this Rot13 example, select some text, choose plugins from the menu, then Rot13 and voila (if all goes well that is)

It relies on send ^c and send ^v to copy/paste the text, for the hiedit module there are probably more reliable ways but it is just an example

This way you can extend the editor without touching the main script and installing a plugin is as simple as copying a script to the plugins directory ...

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 13th, 2011, 8:02 am 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Bug?

- Select a few lines, caret in 1 column pos and move the block up and down with ctrl-shift-up/down --> works OK

- Select a few lines, caret at end position of the last line of your selection, move block up/down --> doesn't work correctly as it duplicates content from one of the lines above/below the block or removes text.

It is easiest to see if you just have a block with

1
2
3
4|
5

| is caret post

and try to move lines 234

if you move it down 5 disappears

1
4
2
3
4|

if you now move up

1
2
3
44|

an extra 4 is added each time you press up

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 13th, 2011, 5:30 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Bug?
Start vic, open doc\Vic_En.html
Line 78 is one long line correct?
it a starts with &lt;/ul></code></pre><p>Note
now add a return after the <p>:

&lt;/ul></code></pre><p>
Note

Select Note and hit the tab key

Note is replace with
:<pr
so line 78+79 now look like
&lt;/ul></code></pre><p>
:<pr

if you continue to tab you get sorts of funny texts...

I can't replicate it with a file I create myself, so I think it may have something to do with the very very long line of 18k+ chars and it also being the last line.

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 14th, 2011, 3:02 am 
Offline

Joined: May 21st, 2007, 4:47 pm
Posts: 85
@hugov

1. About your plugin section suggestion.

Good idea.

Your code works well. With your permission, I will add it in the next Vic's version.

2. About the "block move bug".

In some manner, it's not a bug, because when you select from the end of a line, you let the end of line out of the selection. An so, you try to move up and down a zigzag instead of a block.

But since the result is not what you expect for, it still a kind of bug.

I'll try to see what it can be done to prevent this behavior.

3. About the "tab bug".

If you open a new file, select a word and press Tab, the indentation works as expected.

But when you try to do the same thing in a large file, the bug appear.

Now, repeat the steps you wrote in your bug report, and press Alt+Ctrl+W (to reload the file) just before the step asking to press Tab. You will see that the indentation works as expected.

So, the bug appear in some circumstances, but not always. And at first sight, it is tie to the bug I have reported to Antonis Kaprianou, the developer of HiEdit control.

Thanks a lot for your remarks, suggestions and bug reports, hugov.

Regards,

_________________
Normand Lamoureux


Last edited by Normand on June 14th, 2011, 11:27 am, edited 2 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 14th, 2011, 6:13 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Re: 2. About the "block move bug"
I do think there is a bug, I agree with you about the zigzag, but it shouldn't delete text or duplicate text, I hope the image makes it clear
Image

Re: 1. About your plugin section suggestion.
Feel free to use it. You could consider a more elaborate plugin format, for example you could have a plugin include a section at the top and read settings from there. It might be useful if you provide some information on a few basic hiedit commands (GetSelText, Copy, Cut etc) to help people on their way. Or perhaps a way to transfer info from vic to the plugin.

Example of ini in script:
Code:
/*
[plugin]
Name=Rot13
Option1=
Option2=
; etc
*/

SetTitleMatchMode, 2
; ... rest of plugin script

And you can read with Iniread/Write and just use the pluginscript.ahk as Filename parameter.

I got the plugin idea from nDroid (formerly 320mph by Rajat) which uses the same technique. Plugins there are just ahk scripts launched by the main script with cmd line parameters and/or reading info from the main scripts ini file, example of nDroid plugin
Code:
/*

   320MPH ACTION PLUGIN : GOOGLE IMAGE SEARCH
   Author : Rajat
   
   Note: While developing own plugins, please don't
   change the settings between lines.

*/

;________________________________________________________

#NoTrayIcon

;getting all parameters
Loop
{
   IfEqual, %A_Index%,
      Break
   Params := Params A_Space %A_Index%
}
StringTrimLeft, Params, Params, 1
;________________________________________________________

;For this Action we need only the SearchTerms parameter
IniRead,  RE, nDroid.ini, System, RE_SearchTerms, %A_Space%
RegExMatch( Params, RE, Val_)
; Val_SearchTerms has the needed value

;here we perform the action
StringReplace, Val_SearchTerms, Val_SearchTerms, %A_Space%, +
Run, http://images.google.com/images?hl=en&q=%Val_SearchTerms%


Re: 3 tab bug
Thanks for looking at it.

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 15th, 2011, 2:09 pm 
Offline

Joined: May 21st, 2007, 4:47 pm
Posts: 85
Good news, what we called the "move block bug" is fixed.

Now, a "zigzag selection" is automatically extended to the complete lines touched by the selection before moving it. This behavior is much more user friendly.

The next version of Vic will be available soon.

_________________
Normand Lamoureux


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 17th, 2011, 6:07 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Mini-bug?
Automatic replacements window: the cancel button doesn't work.

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 17th, 2011, 11:07 pm 
Offline

Joined: May 21st, 2007, 4:47 pm
Posts: 85
@hugov

You're right.
This bug appears in the English version only. Sorry.
It will be fixed in the next version.

Regards,

_________________
Normand Lamoureux


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 18th, 2011, 2:22 pm 
Offline

Joined: May 21st, 2007, 4:47 pm
Posts: 85
Version 1.3 available.
See first post for details.
Release notes are at the end of the first post.
Special thanks to hugov for his bug reports and suggestions.

_________________
Normand Lamoureux


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 81 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 19 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group