AutoHotkey Community

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

All times are UTC [ DST ]




Post new topic Reply to topic  [ 240 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16

Do you want HiEdit internaly
Yes
No, I like Edit control
Other (please explain)
You may select 1 option

View results
Author Message
 Post subject:
PostPosted: March 27th, 2011, 8:48 pm 
Offline

Joined: January 18th, 2006, 7:39 am
Posts: 274
Location: Conway, Arkansas
emmanuel d wrote:
is there a way to auto wrap text to the next line?


The HiEdit control does not have word-wrapping capabilities.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 27th, 2011, 8:52 pm 
Offline

Joined: January 29th, 2009, 9:50 pm
Posts: 483
Location: Belgium
skwire wrote:
emmanuel d wrote:
is there a way to auto wrap text to the next line?


The HiEdit control does not have word-wrapping capabilities.
thank you, thats realy to bad

_________________
Stopwatch emdkplayer
the code i post falls under the: WTFYW-WTFPL license


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 27th, 2011, 9:55 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Read the links in the first post again, word wrap simulator:
http://www.autohotkey.com/forum/viewtop ... 783#315783

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Bug report
PostPosted: May 30th, 2011, 1:43 am 
Offline

Joined: May 21st, 2007, 4:47 pm
Posts: 85
Problem occurs in the HiEdit control when you try to handle a large amount of text.

To reproduce the bug, double click on _Test.ahk, clear the content and follow these steps:

1. Use the long line of text above.
2. Repeat it 10000 times.
3. Select all.
4. Open Features menu and choose ConvertCase.
5. Go to line 1001 to see how corrupted text appear.

Image

Any idea to explain what happen?

For my test, I used the following pseudo-latin text without parenthesis:
(Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. Duis arcu massa, scelerisque vitae, consequat in, pretium a, enim. Pellentesque congue. Ut in risus volutpat libero pharetra tempor. Cras vestibulum bibendum augue. Praesent egestas leo in pede. Praesent blandit odio eu enim. Pellentesque sed dui ut augue blandit sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae. Aliquam nibh. Mauris ac mauris sed pede pellentesque fermentum. Maecenas adipiscing ante non diam sodales hendrerit.)

_________________
Normand Lamoureux


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Bug report
PostPosted: May 30th, 2011, 4:37 am 
Offline

Joined: October 1st, 2005, 9:55 pm
Posts: 775
Location: Texas, USA
Normand wrote:
Problem occurs in the HiEdit control when you try to handle a large amount of text.

HiEdit is a 3rd party control so reporting the bug here, unfortunately, won't get anything fixed. IMHO, here's what you should do:
  1. Duplicate the problem using the latest version of the HiEditor editor. This editor uses the HiEdit control and the author is familiar with this tool. I was able to easily duplicate the problem so you shouldn't have any problem duplicating it on the HiEditor program.
  2. Report the bug on winasm.net. This is author's web site. I would use this forum. You might need to register in order to post.
  3. Cross your fingers.

The bad news is that development of the HiEdit control has ceased. The last update was in 2009. The good news is that the last update was for a bug fix (I reported it) so who knows, the author might fix it and post an update.

Good luck!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 30th, 2011, 12:28 pm 
Offline

Joined: May 21st, 2007, 4:47 pm
Posts: 85
@jballi
I followed your recommendation.
Here is my bug report on Winasm forum.
Now, I cross my fingers.
Thanks.

_________________
Normand Lamoureux


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

Joined: May 21st, 2007, 4:47 pm
Posts: 85
Another bug.

1) Open HiEdit control, type an "a" (or any other character) and press Enter once.
2) Press Up arrow then Right arrow, and watch were the caret goes.

You will see that the caret seems to go beyond the end of line.

Try the same thing with two Enters and this behavior don't happen.

Now, repeat the step 1 with two characters instead of only one, place the caret at the beginning and try to place the caret between them with right arrow.

You will see that it's impossible.

The same results can be reached with HiEdit.exe and HiEditDemo.exe.

I'm going to report these observations on WinASM forum.

_________________
Normand Lamoureux


Report this post
Top
 Profile  
Reply with quote  
PostPosted: July 6th, 2011, 3:16 pm 
Offline

Joined: March 27th, 2008, 7:46 pm
Posts: 129
Location: France
hello,
:( we Lose tabulation lenght - after Decrease / Increase
must do HE_SetTabWidth(hEdit, save_widh) in each label concerned. (Perhaps see for include that in the HiEdit.ahk)

_________________
with ahk, all is different!...<img>


Report this post
Top
 Profile  
Reply with quote  
PostPosted: July 11th, 2011, 2:20 pm 
Offline

Joined: March 27th, 2008, 7:46 pm
Posts: 129
Location: France
Normand wrote:
Problem occurs in the HiEdit control when you try to handle a large amount of text.

Like You, after try many test, mainly duplication selected text, i see:
most often, Seems to 98,713 characters all is well!
:( But if 98,714 (and above) of selected then you see the
problems coming appear. (for me berfore 98713 characters)
often depending on the end of your selection ..

i have report that on url:http://www.winasm.net/forum/index.php?showtopic=3817#entry19129

_________________
with ahk, all is different!...<img>


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Search backwards?
PostPosted: October 9th, 2011, 5:12 pm 
Offline

Joined: February 5th, 2011, 5:46 pm
Posts: 4
Location: Richmond, VA United States
Could someone help me out with the flag setting for hEdit in order to search backwards, or is that now possible?


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Search backwards?
PostPosted: October 9th, 2011, 10:05 pm 
Offline

Joined: October 1st, 2005, 9:55 pm
Posts: 775
Location: Texas, USA
cycle4passion wrote:
Could someone help me out with the flag setting for hEdit in order to search backwards, or is that now possible?

Assuming that you're using the HE_FindText function, just set the cpMin and cpMax parameters to values that are appropriate for a reverse search. For example, setting cpMin to 975 and cpMax to 0 will search from the 975th character to the beginning of the control.

I hope this helps.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 7th, 2011, 4:49 am 
Offline

Joined: July 10th, 2011, 5:03 am
Posts: 272
Is there a way to hide/show the control?

I know I can start it hidden by specifying "hidden" in styles, but if I use:

Code:
guicontrol, show, HiEdit1


nothing happens? Is there a function where you can modify the current styles for the control? (if so sorry I couldn't find it)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 7th, 2011, 5:18 am 
Offline

Joined: February 14th, 2005, 10:54 am
Posts: 447
Location: Texas, Usa
Code:
;Method 1: Uses var associated with control
   If ThisMethod = 1
      GuiControl, 1:Hide, %ThisCtrlName%
   ;Method 2: Uses HWND
   If ThisMethod = 2
      Control, Hide, ,, ahk_id %ThisCtrlName%
   ;Method 3: Uses Classname
   If ThisMethod = 3
      Control, Hide, ,, %ThisCtrlName%, %GrpWinTitle%


%ThisCtrlName% Should contain the appropriate values for each method, but method 1 would be most common. To show the ctrl again, replace "Hide" with "show"

_________________
my lame sig :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 7th, 2011, 9:40 am 
Offline

Joined: July 10th, 2011, 5:03 am
Posts: 272
Invalid User wrote:
Code:
;Method 1: Uses var associated with control
   If ThisMethod = 1
      GuiControl, 1:Hide, %ThisCtrlName%
   ;Method 2: Uses HWND
   If ThisMethod = 2
      Control, Hide, ,, ahk_id %ThisCtrlName%
   ;Method 3: Uses Classname
   If ThisMethod = 3
      Control, Hide, ,, %ThisCtrlName%, %GrpWinTitle%


%ThisCtrlName% Should contain the appropriate values for each method, but method 1 would be most common. To show the ctrl again, replace "Hide" with "show"


thanks for your help, although I couldn't get these methods to find.

I tried method two and three;
2:
Code:
Space::
control, hide, ,, ahk_id 0xe1b88
return

3:
Code:
Space::
control, hide, ,, hiedit1, HiEdit Test
return


but they both didn't work. the hotkey is responsive (tested) and I used controlget to get the hwnd of the control and spy++ to get the classname of the control (hiedit1).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 1st, 2011, 7:13 pm 
Offline

Joined: February 6th, 2007, 12:30 am
Posts: 142
Location: Michigan
I've searched this thread and the docs, but I can't figure out how to change the background color?

_________________
http://www.panofish.net


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 240 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16

All times are UTC [ DST ]


Who is online

Users browsing this forum: Stigg and 18 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