Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Color Coding On Current Source

forums forums SQLyog SQLyog Localization and Source Code Discussions Color Coding On Current Source

  • This topic is empty.
Viewing 10 reply threads
  • Author
    Posts
    • #12156
      Stephen D
      Member

      Hello,

      I have downloaded the latest source code for the Community version 8.7 RC. In the editor window the color coding doesn't stay. As you type “SELECT” for example it will be red and as soon as its complete it goes back to the default color (in this case black). I haven't started to play around with anything yet, i simply started it up to try it out. I downloaded the Binary for 8.7 RC to see if had the same issue and it does not. It does work as it should.

      I don't have much time at the moment to look into it troubleshoot it myself, if anyone has come across this already if you could point me in the right direction it would be greatly appreciated.

      Thanks in advance,

      Stephen

    • #31559
      peterlaursen
      Participant

      Please tell: what (Visual Studio) compiler version are you using and on what OS?

    • #31560
      Stephen D
      Member

      Hi Peter,

      I'm running the following:

      VS:

      Microsoft Visual Studio 2010

      Version 10.0.30319.1 RTMRel

      Microsoft .NET Framework

      Version 4.0.30319 RTMRel

      OS:

      OS Name Microsoft Windows 7 Professional

      Version 6.1.7600 Build 7600

      System Type x64-based PC

      Thanks,

      Stephen

    • #31561
      peterlaursen
      Participant

      .NET -related information is not relevant for SQLyog as it is a 'pure' Win32 API program (and does not user .NET at all).  We also use VS 2010 now. Anyway we will check this (but I am suspicious about Windows 7 Professional we have had quite a lot of  issues with it that do not occur on ULTIMATE and HOME PREMIUM. Anyway this is an assumption only.  Please give us a few days to check this )

    • #31562
      vishal.pr
      Member

      Hi,

      We recently updated the Scintilla library used in SQLyog. With this some of the macros used in old version is no longer the same and many of the source files for Scintilla control are now redundant. So I would recommend you to do a fresh checkout and try.

      Regards,

      Vishal P.R

    • #31563
      Stephen D
      Member

      Perfect thanks Vishal, I will give this a try later today and let you know how goes.

      Thanks,

      Stephen

    • #31564
      Stephen D
      Member

      Yesterday afternoon I had re-downloaded the source and recompiled I am getting the same result. I have tried both debug and release.

      Compile warnings:

      Warning 1 warning C4150: deletion of pointer to incomplete type 'FormView'; no destructor called C:UserssdelisleDesktopCodeSQLyog-20101122srcDataViewTable.cpp 197 1 SQLyogCommunity

      Warning 2 warning C4702: unreachable code c:userssdelisledesktopcodesqlyog-20101122srccommunityribbon.cpp 131 1 SQLyogCommunity

      Warning 3 warning C4091: 'static ' : ignored on left of 'Module' when no variable is declared C:UserssdelisleDesktopCodeSQLyog-20101122includeHtmlrender.h 26 1 SQLyogCommunity

      Warning 4 warning C4505: 'HTMLayoutNotifyHandler' : unreferenced local function has been removed C:UserssdelisleDesktopCodeSQLyog-20101122includeHtmlrender.h 158 1 SQLyogCommunity

      Warning 5 warning C4702: unreachable code c:userssdelisledesktopcodesqlyog-20101122srcguihelper.cpp 6770 1 SQLyogCommunity

      Warning 6 warning C4702: unreachable code c:userssdelisledesktopcodesqlyog-20101122srcguihelper.cpp 6773 1 SQLyogCommunity

      Warning 7 warning C4702: unreachable code c:userssdelisledesktopcodesqlyog-20101122srcguihelper.cpp 6775 1 SQLyogCommunity

      Warning 8 warning C4702: unreachable code c:userssdelisledesktopcodesqlyog-20101122srcguihelper.cpp 6778 1 SQLyogCommunity

      Warning 9 warning C4702: unreachable code c:userssdelisledesktopcodesqlyog-20101122srcguihelper.cpp 6780 1 SQLyogCommunity

      Warning 10 warning C4702: unreachable code c:userssdelisledesktopcodesqlyog-20101122srcguihelper.cpp 6781 1 SQLyogCommunity

      Warning 11 warning C4702: unreachable code c:userssdelisledesktopcodesqlyog-20101122srcguihelper.cpp 6784 1 SQLyogCommunity

      Warning 12 warning C4065: switch statement contains 'default' but no 'case' labels C:UserssdelisleDesktopCodeSQLyog-20101122srcMDIWindow.cpp 1516 1 SQLyogCommunity

      Warning 13 warning C4065: switch statement contains 'default' but no 'case' labels C:UserssdelisleDesktopCodeSQLyog-20101122srcMDIWindow.cpp 1655 1 SQLyogCommunity

      Warning 14 warning C4091: 'static ' : ignored on left of 'Module' when no variable is declared C:UserssdelisleDesktopCodeSQLyog-20101122includehtmlrender.h 26 1 SQLyogCommunity

      Warning 15 warning C4505: 'HTMLayoutNotifyHandler' : unreferenced local function has been removed C:UserssdelisleDesktopCodeSQLyog-20101122includehtmlrender.h 158 1 SQLyogCommunity

      Warning 16 warning C4091: 'static ' : ignored on left of 'Module' when no variable is declared C:UserssdelisleDesktopCodeSQLyog-20101122includeHtmlrender.h 26 1 SQLyogCommunity

      Warning 17 warning C4102: 'printhtml' : unreferenced label C:UserssdelisleDesktopCodeSQLyog-20101122srcTabObject.cpp 1981 1 SQLyogCommunity

      Warning 18 warning C4706: assignment within conditional expression c:userssdelisledesktopcodesqlyog-20101122srcurlencode.cpp 121 1 SQLyogCommunity

      Warning 19 warning C4702: unreachable code c:userssdelisledesktopcodesqlyog-20101122srcwyini.cpp 290 1 SQLyogCommunity

      Warning 20 warning LNK4217: locally defined symbol _memmove imported in function _match C:UserssdelisleDesktopCodeSQLyog-20101122buildpcre.lib(pcre_exec.obj) SQLyogCommunity

      Warning 21 warning LNK4217: locally defined symbol _memmove imported in function _check_auto_possessive C:UserssdelisleDesktopCodeSQLyog-20101122buildpcre.lib(pcre_compile.obj) SQLyogCommunity

      Warning 22 warning LNK4217: locally defined symbol _strncmp imported in function _find_parens C:UserssdelisleDesktopCodeSQLyog-20101122buildpcre.lib(pcre_compile.obj) SQLyogCommunity

      Warning 23 warning LNK4099: PDB 'vc100.pdb' was not found with 'sqlite.lib(sqlite3.obj)' or at 'C:UserssdelisleDesktopCodeSQLyog-20101122buildReleaseBinaryvc100.pdb'; linking object as if no debug info C:UserssdelisleDesktopCodeSQLyog-20101122buildsqlite.lib(sqlite3.obj) SQLyogCommunity

    • #31565
      peterlaursen
      Participant

      1)

      We should fix the two warnings here (that are inside our code)

      Warning 1 warning C4150: deletion of pointer to incomplete type 'FormView'; no destructor called C:UserssdelisleDesktopCodeSQLyog-20101122srcDataViewTable.cpp 197 1 SQLyogCommunity

      Warning 2 warning C4702: unreachable code c:userssdelisledesktopcodesqlyog-20101122srccommunityribbon.cpp 131 1 SQLyogCommunity

      It looks to me that the other warning are inside shared libraries that we use, and we cannot help it.  Those we know. 

      2)

      I am almost sure that the warnings are not related to the original issue you reported.  But I will let Vishal comment on that.

    • #31566
      Khushboo
      Member

      Hi Stephen,

      We have fixed some of these warnings and committed the code here:

      https://sqlyog.googlecode.com/svn/trunk

      Please update and check.

      Thank you for reporting.

      Regards,

      Khushboo

    • #31567
      vishal.pr
      Member

      Regarding the original issue, it was a mistake from our end. As I already mentioned, we have upgraded Scintilla library to version 2.2 but forgot to replace the old SciLexer.dll in build directory of Google Code. In lib directory it was there however. So, either you can copy and replace it by yourself or just update your trunk. This should work.

      Regards,

      Vishal P.R

    • #31568
      Stephen D
      Member

      Works great now thanks for you help!

      Stephen

Viewing 10 reply threads
  • You must be logged in to reply to this topic.