BBCode Code Block & Microsoft Edge.
BBCode Code Block & Microsoft Edge.
I wish PureBasic compiler wouldn't through Syntax error(S) ALWAYS when testing copied code via BBCode Code Block w/Microsoft Edge. I have to keep switching to Internet Explorer to copy every-time, real annoyance.
I don't know why PB IDE can't automatically handle the conversion when pasting copied contents from Microsoft Edge.
I can't be the only one using Microsoft Edge on here...
I don't know why PB IDE can't automatically handle the conversion when pasting copied contents from Microsoft Edge.
I can't be the only one using Microsoft Edge on here...
ʽʽSuccess is almost totally dependent upon drive and persistence. The extra energy required to make another effort or try another approach is the secret of winning.ʾʾ --Dennis Waitley
Re: BBCode Code Block & Microsoft Edge.
Highlander.... There can be only oneThunder93 wrote:I can't be the only one using Microsoft Edge on here...
Re: BBCode Code Block & Microsoft Edge.
the IDE just paste the clipboard content, how can it be an IDE fault ? Better send your report to MS
Re: BBCode Code Block & Microsoft Edge.
The problem appears to be non-breaking space characters interspersed with normal spaces.
Perhaps the IDE could accept both?
Perhaps the IDE could accept both?
DE AA EB
Re: BBCode Code Block & Microsoft Edge.
Exactly.
I like to help people on the PB forums to troubleshoot codes. However I'm finding it annoying as Microsoft Edge user to need be jumping to hoops now to have PB not complain about syntax error(S) on copied and pasted codes into PB IDE. I'm not going to switch browsers, so I guess this is a conundrum.davido wrote:The problem appears to be non-breaking space characters interspersed with normal spaces.
davido wrote:Perhaps the IDE could accept both?
ʽʽSuccess is almost totally dependent upon drive and persistence. The extra energy required to make another effort or try another approach is the secret of winning.ʾʾ --Dennis Waitley
Re: BBCode Code Block & Microsoft Edge.
edge gives you a different text as was given by the website, and then a third party application like PB is supposed to guess what was meant in the first place?
Re: BBCode Code Block & Microsoft Edge.
The only problem I see is with PB IDE for not accepting non-breaking space interspersed with normal spaces. However PB IDE wants to cry syntax error.
What's with the closed-mindedness that I'm receiving here? What is wrong with accepting this style in PB IDE? You guys treating this as if we living still in the stone ages. whatever.........!
What's with the closed-mindedness that I'm receiving here? What is wrong with accepting this style in PB IDE? You guys treating this as if we living still in the stone ages. whatever.........!
ʽʽSuccess is almost totally dependent upon drive and persistence. The extra energy required to make another effort or try another approach is the secret of winning.ʾʾ --Dennis Waitley
Re: BBCode Code Block & Microsoft Edge.
We could ask Fred, politely, if he could allow the IDE to accept $A0 characters.
DE AA EB
Re: BBCode Code Block & Microsoft Edge.
Microsoft Edge is simply too advanced for us cavemen.Thunder93 wrote:You guys treating this as if we living still in the stone ages. whatever.........!
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel
Re: BBCode Code Block & Microsoft Edge.
sorry for my bad english
Re: BBCode Code Block & Microsoft Edge.
@Josh,
Thank you.
Didn't find that: I'll have to improve my searching technique.
Thank you.
Didn't find that: I'll have to improve my searching technique.
DE AA EB
Re: BBCode Code Block & Microsoft Edge.
Indeed, That was a nice find. It was just posted, last Saturday.
Hopefully the annoyance won't continue with Edge copying for another two years.
Hopefully the annoyance won't continue with Edge copying for another two years.
ʽʽSuccess is almost totally dependent upon drive and persistence. The extra energy required to make another effort or try another approach is the secret of winning.ʾʾ --Dennis Waitley
Re: BBCode Code Block & Microsoft Edge.
You could write a special tool for the PB IDE to paste your clipboard content by first replacing the non-breaking spaces with spaces. You would just compile it to an executable and link it into the PB IDE tools.Thunder93 wrote:The only problem I see is with PB IDE for not accepting non-breaking space interspersed with normal spaces. However PB IDE wants to cry syntax error.
What's with the closed-mindedness that I'm receiving here? What is wrong with accepting this style in PB IDE? You guys treating this as if we living still in the stone ages. whatever.........!
Something like this:
Code: Select all
; Tool "InsertClipFromME" This version written by Demivec, inspired by Michael Vogel and kenmo
; Replaces Non-Breaking Space ($A0) with space in clipboard text before pasting it in a source.
;
; Command Line: InsertClipFromME.exe
; Working Directory: %COMPILEFILE
; Name: Insert Clip from ME
; Run Hidden
SCID = Val(GetEnvironmentVariable("PB_TOOL_Scintilla"))
Orig.s = GetClipboardText()
If (SCID And Orig)
Mod.s = ReplaceString(Orig, #CRLF$, #LF$)
Mod = ReplaceString(Mod, Chr($A0), Space(1))
SetClipboardText(Mod)
SendMessage_(SCID, #SCI_PASTE, 0, 0)
SetClipboardText(Orig)
EndIf
Re: BBCode Code Block & Microsoft Edge.
Demivec, you are clever. This approach would save me from the extra click even by normal means. Thanks
ʽʽSuccess is almost totally dependent upon drive and persistence. The extra energy required to make another effort or try another approach is the secret of winning.ʾʾ --Dennis Waitley
Re: BBCode Code Block & Microsoft Edge.
Well, it's wrong because frankly it's not a PureBasic IDE problem. The bug is solely with Edge, and PureBasic doesn't need to change to fix another app's bugs. Once you do that, you need to start doing it for any browser or app that doesn't present the correct clipboard text to PureBasic properly. Where does it end?Thunder93 wrote:What is wrong with accepting this style in PB IDE?
As an example, here's a line of PureBasic code that I copied from a hex editor:
Code: Select all
55 73 65 50 4E 47 49 6D 61 67 65 45 6E 63 6F 64 65 72 28 29
Don't get offended: I'm NOT trying to p*ss you off. Just showing why it shouldn't be done.