mIRC Homepage
Posted By: foshizzle Disable line numbers in editor - 07/08/08 03:11 PM
I think there should be an option to enable/disable the line numbers in the script's editor.
Posted By: symphony Re: Disable line numbers in editor - 07/08/08 06:09 PM
Seconded.
Posted By: Wims Re: Disable line numbers in editor - 07/08/08 06:58 PM
I can't see the reason to disable this.What are the advantages ?
I have nothing against this suggestion, but imo, line number are a very nice thing.Actually, this can be done with a dll if you want.
Posted By: Pivo Re: Disable line numbers in editor - 07/08/08 08:24 PM
If I remember correctly, those line numbers are the cause of broken display under linux/wine.
Posted By: foshizzle Re: Disable line numbers in editor - 07/08/08 08:30 PM
yes, thats what i was getting at
Posted By: landonsandor Re: Disable line numbers in editor - 07/08/08 11:20 PM
foshizle, perhaps next time, state the reason you wanted ti removed, would have eliminated some replies smile
Posted By: Wims Re: Disable line numbers in editor - 08/08/08 12:21 AM
Some people could say that mirc shouldn't be used on linux/wine, and that you're asking for something that would only be used in order to remove a bug that should not exist smile
Posted By: foshizzle Re: Disable line numbers in editor - 08/08/08 12:53 AM
who cares what "some" say :P
they even advertise it on these forums
Posted By: hixxy Re: Disable line numbers in editor - 08/08/08 03:33 AM
As well as this, I'd like to see the option to set how many numbers wide the line box is by default. I would set it to about 5 numbers wide so it never auto-resizes while I'm in the middle of writing something, can be offputting.
Posted By: RusselB Re: Disable line numbers in editor - 08/08/08 08:14 AM
This I agree with. Having the line numbers, I have found handy, and, probably due to a fluke, I don't have any problems with the line numbers on my Linux (Xandros) system.
Posted By: foshizzle Re: Disable line numbers in editor - 08/08/08 02:37 PM
i like the line numbers, but when i use linux, it crashes mIRC
Posted By: argv0 Re: Disable line numbers in editor - 09/08/08 06:56 PM
Why not just tell the people who maintain WINE to fix THEIR program?
Posted By: foshizzle Re: Disable line numbers in editor - 10/08/08 01:32 AM
...
Posted By: symphony Re: Disable line numbers in editor - 10/08/08 02:32 PM
argv0's right you know.
Posted By: foshizzle Re: Disable line numbers in editor - 10/08/08 04:49 PM
maybe its not that easy to just go fix that problem.. and its 1 program.
Posted By: Mpdreamz Re: Disable line numbers in editor - 10/08/08 08:45 PM
Maybe it's not easy for Khaled ?
Wine is an Windows API emulator if it has a bug emulating it's their job to fix it not for mIRC which is not even officially supported through Wine. If you have any understanding of windows API you'll realize it's not just 1 program that would be affected.
Posted By: foshizzle Re: Disable line numbers in editor - 12/08/08 04:21 AM
how would it be hard?
he just implemented it 2 versions ago..
Posted By: MTec007 Re: Disable line numbers in editor - 12/08/08 01:31 PM
the point is, is that it works PERFECTLY in windows, therefore wine has a bug that needs to be resolved, this is not a bug in mIRC. but i agree, the line numbers should have a on/off switch somewhere, i personally dont care for the line numbers.. in any editor.
Posted By: RoCk Re: Disable line numbers in editor - 12/08/08 01:32 PM

The point is having to add a toggle for a feature because it doesn't work correctly under an EMU? This wouldn't happen if Wine were emulating the Windows API correctly, hence it's a Wine problem not a mIRC problem.

Originally Posted By: MTec007

the line numbers should have a on/off switch somewhere, i personally dont care for the line numbers.. in any editor.


I can respect wanting a switch because you don't like the line numbers, but not the other reason at all. I personally like having it there because it's nice to have as a reference when scrolling vertically. It made life just a little bit easier.
Posted By: foshizzle Re: Disable line numbers in editor - 12/08/08 06:21 PM
i agree its nice, but whats wrong with having a switch to turn it off?
Posted By: landonsandor Re: Disable line numbers in editor - 12/08/08 09:45 PM
people have agreed a switch would be nice already. Personally, I think you're becoming agitated because you feel we're saying your idea doesnt have merit. Quite the opposite, we like the idea, but we're suggesting MIRC isnt the one with the problem to fix.
Posted By: MTec007 Re: Disable line numbers in editor - 14/08/08 03:58 AM
If this was directed at me, you misread my post. I meant wine has a problem to fix, period. It shouldn't be added just to fix wine's bugs... BUT, because some users may not like line numbers, there should be a toggle. However I do understand that Khaled cannot please everybody.

Originally Posted By: RoCk

I can respect wanting a switch because you don't like the line numbers, but not the other reason at all. I personally like having it there because it's nice to have as a reference when scrolling vertically. It made life just a little bit easier.
Posted By: RoCk Re: Disable line numbers in editor - 14/08/08 04:06 AM

I was replying to the OP. I don't oppose a toggle, although I can't really see how the line numbers could be bothersome, however I do disagree that the toggle should be added because the feature doesn't work correctly under an emulator.
Posted By: foshizzle Re: Disable line numbers in editor - 14/08/08 06:56 AM
well, as one person said, he finds them a bit annoying because of the changing width, even tho he suggested a different idea, thats an exmaple.. the emulator is not the only reason..
Posted By: The_JD Re: Disable line numbers in editor - 04/09/08 09:23 AM
There is no reason that a request to help mIRC successfully work under Wine is a bad idea, allthough I agree, it is a fault in Wine, I'm sure Khaled would prefer to see more paying customers happy for a quick fix (a switch).

This is the reason I downgraded on my ubuntu installation, even though I like the line numbers.

The reason people are posting here, is because from experience, Khaled listens to and respects users.

Thanks Khaled!
Posted By: argv0 Re: Disable line numbers in editor - 04/09/08 03:34 PM
(Note: all "you"'s should be taken in the general term, this is not a direct reply to anybody in particular)

No offense but people here have been wasting so much time complaining to the WRONG PERSON. You should be taking this up with wine, not Khaled. Have you even submitted a post or email on their mailing list notifying them of the bug? I assume not. A patch in their software could have been disseminated within days if they actually were made aware this is a problem instead of waiting months wining on a messageboard for someone to fix your problem the *wrong* way.

I oppose any changes in software that add bloat to a feature-set when the justification is a hack/workaround to a bug in other software that isn't even meant to be supported-- ESPECIALLY when that software is open source and has a much faster release cycle than mIRC.

Conclusion: Frankly, if you (anybody who's complaining) haven't yet contacted WINE HQ about the issue, this thread is completely moot and you (everybody who's complaining) shouldn't be posting here.
Posted By: starbucks_mafia Re: Disable line numbers in editor - 12/09/08 10:52 PM
You can fix the line number issue under WINE (plus a couple of other bugs including the Remote tab crash bug) by disabling the richedit20 library when running mIRC. If you don't know how to do that, follow the steps below:

  • Run winecfg from the command-line.
  • Add mIRC to the application settings list
  • Select mIRC in the list (the dialog's titlebar should change to say "Wine configuration for mirc.exe")
  • Go to the Libraries tab
  • Select richedit20 from the overrides dropdown and press Add to add it to the override listbox
  • Select richedit20 in the override listbox and press Edit
  • Select Disable in the dialog and press OK
  • Press OK in the winecfg dialog

The line numbers should display just fine now under WINE. The only bug I've experienced from doing this is that pressing return in the Script Editor seems to add two new lines instead of one. Not ideal, but at least you can see what's in the box now.
Posted By: _Memo Re: Disable line numbers in editor - 28/09/08 03:07 AM
ALSO.. I've experienced display glitches in addition to "weird" input errors, but after installing CrossOver Pro 7 everything was squared away.

Just to ring in my two cents as I'm a paying customer AND (ex) avid scripter in the community:

1. A single toggle feature (an additional menu item and a one byte setting in mirc.ini) DOESN'T bloat the program unlike other features that cater to the FEW versus the MANY. I'll spare my opinions and rants of such features, as I feel everyone is entitled to their own beliefs and preferences.

2. As more Linux distributions mature, in addition of becoming more popular, the community can expect to see an influx of these "unrelated" issues such as arise with new converts wishing to partake in the mIRC community. Pointing the finger at the respective cause (this case being the emulator) is poor camaraderie. Those of you that focus your effort in assisting others in the community should be ashamed of yourselves. Those of you operating the help channels will assist someone with BASIC scripting help for HOURS, but if something unfamiliar comes along your way, you run cowardly to your scapegoat pointing proudly.

Yes, this wasn't a Windows issue, but if something as simple as being able to disable a new feature in mIRC (like the many other switchable ones) would resolve the issue, then WHY knock it on that principle? Because YOU don't use Wine? Because it doesn't effect YOU? For every new version of Windows, there seems to be a lot of compatibility added/changes to cater to those needing them to run mIRC properly *cough*Vista*cough*. Yet hardly anybody complains over THAT bloat!

Think about what you're snapping at next time before you reply. Btw starbucks, thank you for ringing in with the fix. Quite a few people have been griping about it in the various Wine lists, so I'm sure they'll wonder over too =/
Posted By: argv0 Re: Disable line numbers in editor - 28/09/08 04:35 AM
Originally Posted By: _Memo
Those of you that focus your effort in assisting others in the community should be ashamed of yourselves.


And why should I (or anybody else) be ashamed of ourselves? There is little that can be done by any one of us to assist you with this problem. The manner in which you were ultimately helped was *entirely* due to starbucks_mafia pointing the finger at wine and fixing the problem there. If you *expect* people on this forum to fix your wine installation, you're in the wrong place. In any case, nobody here has anything to be ashamed of, and we all take pride in helping people with mIRC issues *when there is something that can be done*. The pointing of fingers in this case is completely justified- the problem is indeed caused by a wine bug, the proper solution is *not* to change mirc for the bug's sake.

I use wine. The *wine bug* pisses me off. However, if my level of caring rose above my "do something about it" threshold, I would consult the people at Wine, not mIRC, about fixing it. I don't solve my problems by asking for features in mIRC to be disabled in order to hide a problem with other software-- *that* is bloat. More importantly, I wouldn't consider disabling the lines as a valid solution to the problem regardless if mIRC implemented it because I'd want the lines to show up in Wine.

Every one of my personal decision flowcharts has inevitably gravitated to Wine needing the fix, so the conclusion is 100% valid in my eyes. Now, if a user has a valid reason to suggest this feature (like finding that the line display takes up too much room), I would support that suggestion. But if the suggestion is simply there to hide a bug in wine, we return to my decision flowchart and come full circle to wine needing a fix.
Posted By: Khaled Re: Disable line numbers in editor - 09/10/08 03:48 PM
I wouldn't normally make a change in mIRC to get around a Wine limitation since issues like this only help to improve Wine's compatibility. For this particular feature though, quite a few people who aren't using Wine have requested it, so I'll be adding an option to show/hide the line numbers in the next version.
© mIRC Discussion Forums