stevel05 Expert Licensed User Longtime User Jan 10, 2012 #1 I attach a file that has a large code module (taken from an app so it won't compile as is) but it shows a problem with the large code module. When I load it I can see down to line 1258, if I click the - sign it shows more lines but incorrectly formatted. Keep clicking the - or + if it changes and things start to get weird. Attachments edittest.zip edittest.zip 16.1 KB · Views: 461
I attach a file that has a large code module (taken from an app so it won't compile as is) but it shows a problem with the large code module. When I load it I can see down to line 1258, if I click the - sign it shows more lines but incorrectly formatted. Keep clicking the - or + if it changes and things start to get weird.
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2012 #2 Can you post a screenshot? It seems to work fine here. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2012 #3 Can other beta testers test this project? Upvote 0
rbsoft Active Member Licensed User Longtime User Jan 10, 2012 #4 Yes, I have the same problem with the above project. Problems start with line 1258. I cannot scroll any further down. (See attached screenshot) I opened the file in PSPad (see screen shot 2) and there line 1258 appears as line 1263. Rolf Attachments scrnshot.jpg 28.8 KB · Views: 490 scrnshot2.jpg 29.5 KB · Views: 484 Last edited: Jan 10, 2012 Upvote 0
Yes, I have the same problem with the above project. Problems start with line 1258. I cannot scroll any further down. (See attached screenshot) I opened the file in PSPad (see screen shot 2) and there line 1258 appears as line 1263. Rolf
klaus Expert Licensed User Longtime User Jan 10, 2012 #5 Works fine for me. Just one point, for Sub OrientationLock_Click the - sign is missing. There is a Tab sign between Sub and Orientation_Click. Removing the Tab and replacing it by a space works as expected. Best regards. Attachments Test.jpg 60.3 KB · Views: 521 Upvote 0
Works fine for me. Just one point, for Sub OrientationLock_Click the - sign is missing. There is a Tab sign between Sub and Orientation_Click. Removing the Tab and replacing it by a space works as expected. Best regards.
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2012 #6 @rbsoft can you please zip the screenshots and upload them? The forum automatically resizes image. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2012 #8 Seems like the whole missing text is appended to the last line. You can horizontally scroll the view to see it (I'm guessing as I'm still unable to reproduce it). @rbsoft can you please try to play with it and see if you are able to add more lines before this line, or delete this line and see if something changes? Upvote 0
Seems like the whole missing text is appended to the last line. You can horizontally scroll the view to see it (I'm guessing as I'm still unable to reproduce it). @rbsoft can you please try to play with it and see if you are able to add more lines before this line, or delete this line and see if something changes?
rbsoft Active Member Licensed User Longtime User Jan 10, 2012 #9 Yes, that is exactly the case. Upvote 0
rbsoft Active Member Licensed User Longtime User Jan 10, 2012 #10 Adding lines before is possible. It is the same line where the problem remains. Attachments scrnshot3.jpg 30.2 KB · Views: 445 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2012 #11 Just tried this project on a low end Windows XP netbook and it works fine... Are you using non-regular DPI settings? What is your regional settings? Upvote 0
Just tried this project on a low end Windows XP netbook and it works fine... Are you using non-regular DPI settings? What is your regional settings?
rbsoft Active Member Licensed User Longtime User Jan 10, 2012 #12 I am using Windows XP Pro SP3, normal DPI settings. Regional settings are German. I do not know what the B4A editor is based on (maybe Scintilla or so). Could it be that another editor based on the same runtime causes the problem? (Just an idea...) Rolf Upvote 0
I am using Windows XP Pro SP3, normal DPI settings. Regional settings are German. I do not know what the B4A editor is based on (maybe Scintilla or so). Could it be that another editor based on the same runtime causes the problem? (Just an idea...) Rolf
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2012 #13 Could it be that another editor based on the same runtime causes the problem? (Just an idea...) Click to expand... The editor is based on a third party component which is included in the project. Other editors cannot affect it. Please see if you can reproduce it with a different project. Just select all and do some copy & pasting. Upvote 0
Could it be that another editor based on the same runtime causes the problem? (Just an idea...) Click to expand... The editor is based on a third party component which is included in the project. Other editors cannot affect it. Please see if you can reproduce it with a different project. Just select all and do some copy & pasting.
rbsoft Active Member Licensed User Longtime User Jan 10, 2012 #14 It's kind of weird. I created a new project, added a code module, and pasted some subs from other projects into it. Here the problem starts at line 1281 (see scrnshot). The file size is sufficient smaller, 37 compare to 57 kb. Attachments scrnshot4.jpg 19.3 KB · Views: 472 Upvote 0
It's kind of weird. I created a new project, added a code module, and pasted some subs from other projects into it. Here the problem starts at line 1281 (see scrnshot). The file size is sufficient smaller, 37 compare to 57 kb.
agraham Expert Licensed User Longtime User Jan 10, 2012 #15 This is very odd. In your screenshot in post #10 there is a box character where the problem appears to start indicating an unknown character. However looking with a hex editor I see nothing wrong at that point in the file and it behaves properly for me in the IDE. The line number difference between the IDE and another text editor is expected as there are additional information lines at the beginning which the IDE doesn't count as program lines. Upvote 0
This is very odd. In your screenshot in post #10 there is a box character where the problem appears to start indicating an unknown character. However looking with a hex editor I see nothing wrong at that point in the file and it behaves properly for me in the IDE. The line number difference between the IDE and another text editor is expected as there are additional information lines at the beginning which the IDE doesn't count as program lines.
klaus Expert Licensed User Longtime User Jan 10, 2012 #16 I get the same problem on my 'old' computer with Windows XP SP3. Also with the SQLiteDB and the GPSExample programs. It seems that with files bigger than ~33kbytes the problem appears. I copied the code until the last corect line from the big files into a new module. In two examples the file size of these modules is about 33kbytes. Best regards. Last edited: Jan 10, 2012 Upvote 0
I get the same problem on my 'old' computer with Windows XP SP3. Also with the SQLiteDB and the GPSExample programs. It seems that with files bigger than ~33kbytes the problem appears. I copied the code until the last corect line from the big files into a new module. In two examples the file size of these modules is about 33kbytes. Best regards.
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2012 #17 Which version of .Net Framework are you using? You can see it on this folder: Upvote 0
rbsoft Active Member Licensed User Longtime User Jan 10, 2012 #18 Version 3.5 I see you have v4.0 installed. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2012 #19 Actually .Net Framework 2.0 is always used. What is the exact version number of v2.0? Upvote 0
klaus Expert Licensed User Longtime User Jan 10, 2012 #20 I have this one. Best regards. Attachments Framework.jpg 16.8 KB · Views: 462 Upvote 0