1. RE: IDE bug reports

Hello Patrick,

Which version of IDE are you using? I can send you the editor from v11 
through 14.2 but I need to know which one you need.

I believe these problems were fixed in v14.2 but if that is what you are 
using please let me know.

--judith

Patrick.Barnes at transgrid.com.au wrote:
> Must be one of those days....
> 
> 1.
> 
> In the code editor, the text window allows you to select more of the 
> line than exists.
> i.e.:   end procedure
>         ------------------------------------>can select out to here, as long
>         as
>         you want.
> 
> If you subsequently copy that selection (Ctrl+C), the program dies 
> because the slice looks further than the bounds of the sequence.
> 
> 
> 2.
> 
> Every time I press the Delete button, it deletes two chars...
> One in front of the caret, one behind!
> 
> 
> 3.
> Now, my IDE won't run. I think I changed something in the code while 
> looking for a solution to the delete bug.
> Can someone send me a fresh copy pls? o_O
> 
> ==============================================
>  _______<-------------------\__
> /  _____<--------------------__|===
> | |_    <-------------------/
> \__| Patrick Barnes
> 
> 
> ***********************************************************************
> 
> 
> ***********************************************************************
> 
>

new topic     » topic index » view message » categorize

2. RE: IDE bug reports

I found when checking this bug report that the problem may also occur 
with controls other than Popups.

Thanks for the bug report. I was about ready to issue IDE v15 but will 
fix this error first.

--judith
 
g.haberek at comcast.net wrote:
> I have a problem with Popups in the IDE. When I make a popup menu, I can
> only have the menu and 3 items, after that I get and error: (this is a 
> long
> one)
> 
> C:\EUPHORIA\include\win32lib.ew:16109 in function deleteItem()
> subscript value 96 is out of bounds, reading from a sequence of length 
> 95
>     id = 262
>     pos = 96'`'
>     msg = 4353
>     lParam = 0
>     iItem = 0
> 
> ... called from C:\Euphoria\ide\ide_projectview.ew:595 in procedure
> deleteTreeViewNode()
>     parent = {}
>     child = {80'P',111'o',112'p',117'u',112'p',73'I',116't',101'e',109'm',
> 95'_',49'1',48'0',52'4'}
>     t1 = {}
>     t2 = {80'P',111'o',112'p',117'u',112'p',73'I',116't',101'e',109'm',
> 95'_',49'1',48'0',52'4'}
>     idx = <no value>
>     parentidx = -1
>     x = 93']'
>     ok = <no value>
>     i = 96'`'
> 
> ... called from C:\Euphoria\ide\ide_popup.ew:460 in procedure 
> savethepopup()
>     treedata = {{80'P',111'o',112'p',117'u',112'p',73'I',116't',101'e',
> 109'm',95'_',49'1',48'0',51'3'},{80'P',111'o',112'p',117'u',112'p',73'I',
> 
> 116't',101'e',109'm'}}
>     parent = {80'P',111'o',112'p',117'u',112'p',95'_',49'1',48'0',49'1'}
>     startAt = 70'F'
>     i = 73'I'
>     i = 70'F'
>     i = 73'I'
> 
> ... called from C:\Euphoria\ide\ide_popup.ew:998 in procedure
> PopupEditOk_Click()
>     self = 598
>     event = 4
>     params = {}
> 
> ... called from C:\EUPHORIA\include\win32lib.ew:7773 in function
> invokeHandler()
>     id = 598
>     event = 4
>     params = {}
>     lRoutines = {{232}}
>     lCallType = 1
>     i = 1
>     j = 1
> 
> ... called from C:\EUPHORIA\include\win32lib.ew:21762 in procedure
> wmCommand()
>     id = 598
>     hWnd = 1564
>     iMsg = 273
>     wParam = 0
>     lParam = 3188
>     event = 0
>     w32event = 4
>     parms = {}
> 
> ... called from C:\EUPHORIA\include\win32lib.ew:22556 in function
> fDoCommand()
>     id = 584
>     hWnd = 1564
>     iMsg = 273
>     wParam = 0
>     lParam = 3188
>     pReturn = -2761
>     lRC = {-9987}
>     lChildId = 598
> 
> ... called from C:\EUPHORIA\include\win32lib.ew:23362 in function
> MessageProcessor()
>     pSource = -2761
>     hWnd = 1564
>     iMsg = 273
>     wParam = 0
>     lParam = 3188
>     id = 584
>     lHandledEvent = 15
>     result = <no value>
>     lUserReturn = 0
> 
> ... called from C:\EUPHORIA\include\win32lib.ew:23394 in function 
> WndProc()
>     hWnd = 1564
>     iMsg = 273
>     wParam = 0
>     lParam = 3188
> 
> ^^^ call-back from Windows
> 
> ... called from C:\EUPHORIA\include\win32lib.ew:1086 in function 
<snip>

new topic     » goto parent     » topic index » view message » categorize

3. RE: IDE bug reports

Patrick.Barnes at transgrid.com.au wrote:
> In the Code Editor module:
> 
> 1. When you change the focus to another application, the hint window and 
> the color preferences window stay in the foreground.

The color preferences window has been changed from TopMost. It was Modal 
anyway so didn't need the TopMost style.

I'll work on the hint window.

> 
> 2. The color preferences window: If the color chosen is light or white, 
> it is very hard to read the keywords against the white background. Maybe 
> use something like unRgb, and get a brightness value from it to decide 
> whether to use a black or white background.
> 
> function unRgb(integer color)
> 	return {
> 	and_bits( #FF0000, color) / (256 * 256),
> 	and_bits( #00FF00, color) / 256, 	
> 	and_bits( #0000FF, color)
> 	}
> end function

I'm not sure I follow. Is your editor window also white? If so then use 
the 'Background' selection and change your editor background to 
something the keyword colors will show up against.

> 
> 3. When you type a function out, and the hint window appears, it is 
> moveable. So, you move it away from where you are typing in order to see 
> better. When you have finished typing the function it disappears. When 
> you start another function call, it reappears again; not where you left 
> it, but where it first appeared: in the way.

Yeah I know. I couldn't figure out how to make it go back where you had 
placed it. I think I overlooked a routine Martin Stachion sent me once 
that might do the trick, however.


Thanks for the bug report,
--judith

> 
> =======================
> Patrick Barnes
> Information Systems Group
> 201 Elizabeth St, Sydney
> Patrick.Barnes at tg.nsw.gov.au
> Ext: 91-3583
> Ph:(02) 9284-3583
> Mob: 0410 751 044
> 
> 
> ***********************************************************************
> 
> 
> ***********************************************************************
> 
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu