PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 8 9 [10]
 on: March 28, 2020, 03:59:35 PM 
Started by Bruce Huber - Last post by Bruce Huber
@Pierre... I've tried the "pale" option in the past, but it doesn't really work for me.

@SeaVipe... Folding sucks in Scintilla when attempting to use it on a non-block syntax like BASIC. It defaults to using the indent level - and that doesn't work at all in a lot of real world scenarios.

First, just try folding on any of your standard FreeBASIC code. Scintilla gets lost pretty easily there, even when your code is neat and tidy.

Then, add in some of the different types of comments, (', /'...'/, rem, anything after a _ line continuation), and see what you get.

And, heaven forbid you should use preprocessor #if...#endif, etc.... especially at different indent levels than the surrounded code.

Scintilla folding just sucks... [grin]

 on: March 28, 2020, 02:37:24 PM 
Started by SeaVipe - Last post by SeaVipe
Hi Paul, Is it possible to include "In Project" the the Find In Files search box?

 on: March 28, 2020, 02:33:00 PM 
Started by Bruce Huber - Last post by SeaVipe
Perhaps there is a way to "Fold" just the comments of a Func/Sub?

 on: March 28, 2020, 11:22:24 AM 
Started by Paul Squires - Last post by Paul Squires
That's very strange because I have done nothing to the website, server, or forum in several months.

 on: March 28, 2020, 11:07:55 AM 
Started by Paul Squires - Last post by Josť Roca
I'm using the correct link and all has worked fine until yesterday. It not only happens when trying lo log, but also when trying to read posts or posting, and it happens with Google Chrome, Microsoft Edge and Firexox. I don't have problems with any other web site.

 on: March 28, 2020, 10:40:50 AM 
Started by Bruce Huber - Last post by Paul Squires
This has now been implemented. I have also added an Environment Settings / Code Editor option called "Position searches to middle of screen" to enable/disable the functionality.

 on: March 28, 2020, 10:08:56 AM 
Started by Paul Squires - Last post by Paul Squires
Session times out is not an error that I've seen in a very long time. Maybe try logging out, delete cookies, and then login using this link:

Also, maybe update your browser shortcut to the forum to:

(Try to use the secure https:// links rather than http: because I configured the server to redirect to secure links and maybe that could be interfering with your session)

 on: March 28, 2020, 09:17:07 AM 
Started by Paul Squires - Last post by Josť Roca
#define unicode is not needed at all. I have removed it.

I'm fine, thanks very much for your interest.

What I'm having problems is reading the posts of this forum. It time outs often.

 on: March 28, 2020, 09:14:12 AM 
Started by Bruce Huber - Last post by Paul Squires
Well, that was easier than I thought that it would be. I just need to add this code when repositioning to the found search item:

      ' Attempt to position the found selection in the center of the screen
      dim as long numLinesOnScreen
      numLinesOnScreen = SciExec( hEdit, SCI_LINESONSCREEN, 0, 0)
      SciExec( hEdit, SCI_SETFIRSTVISIBLELINE, currentLine - (numLinesOnScreen / 2), 0)

I'll start adding the code to the places in the editor that needs repositioning.

 on: March 28, 2020, 08:16:48 AM 
Started by Paul Squires - Last post by Paul Squires
Hi Jose, hope you're doing okay especially given everything that Spain is going through right now with the virus.

It seems that is the only Afx code file that explicitly defines the UNICODE equate. I noticed that it leads to a Duplicate Definition error in one of my older applications when I compile it with my new WinFBE visual designer code generation (which also outputs #define unicode). Is it necessary to have that define in the file? Maybe it can be removed?

I do this in WinFormsX in order to avoid duplicate definition errors when compiling:

   #Define UNICODE
#IfnDef _WIN32_WINNT
   #Define _WIN32_WINNT &h0602 

Pages: 1 ... 8 9 [10]