Community
    • Login

    imagecreatefrombmp not recognised

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 224 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dion FitzgeraldD
      Dion Fitzgerald
      last edited by

      I am working on a PHP script for images, it seems imagecreatefrombmp is not highlighted in blue as a function.
      imagecreatefromjpeg, imagecreatefromgif, imagecreatefrompng are highlighted in blue and work fine. Although imagecreatefrombmp is not highlighted in blue, it still works in my PHP script perfectly, just notepad++ doesn’t seem to recognise it as a function so it doesn’t turn it blue. Please, can this be fixed in future releases. Thanks

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Dion Fitzgerald
        last edited by

        @Dion-Fitzgerald ,

        Please, can this be fixed in future releases.

        This Forum is not the feature request location, as explained in our FAQ. Even if you went to github and made a feature request, I am doubtful that anyone would bother to do a PR for a single keyword – but if you found a list of keywords that were missing, someone might be more likely to bother.

        However, if it’s important to you to get it highlighted right away, go to Settings > Style Configurator > Language: php > Style: WORD and add imagecreatefrombmp to the User-defined keywords box, then Save & Close, and it will be highlighted for you on that computer, from then on. (The reason Notepad++ has the user-defined keywords option for most languages is that it is impossible for one volunteer developer to know all 80+ languages well enough to know if there’s a few missing keywords or not, and on any language, there maybe any number of lesser-used keywords that would only be important to a subset of users – so the user-defined keyword box is there for the users who care about those holes or want those extra keywords to add them themselves. PHP already has >9000 keywords in Notepad++, so it’s not surprising there is at least one, and likely more, missing – even if there were 100 missing that would only be 1% of the total, which isn’t hugely significant.)

        Dion FitzgeraldD 1 Reply Last reply Reply Quote 4
        • Dion FitzgeraldD
          Dion Fitzgerald @PeterJones
          last edited by

          @PeterJones said in imagecreatefrombmp not recognised:

          @Dion-Fitzgerald ,

          Please, can this be fixed in future releases.

          This Forum is not the feature request location, as explained in our FAQ. Even if you went to github and made a feature request, I am doubtful that anyone would bother to do a PR for a single keyword – but if you found a list of keywords that were missing, someone might be more likely to bother.

          However, if it’s important to you to get it highlighted right away, go to Settings > Style Configurator > Language: php > Style: WORD and add imagecreatefrombmp to the User-defined keywords box, then Save & Close, and it will be highlighted for you on that computer, from then on. (The reason Notepad++ has the user-defined keywords option for most languages is that it is impossible for one volunteer developer to know all 80+ languages well enough to know if there’s a few missing keywords or not, and on any language, there maybe any number of lesser-used keywords that would only be important to a subset of users – so the user-defined keyword box is there for the users who care about those holes or want those extra keywords to add them themselves. PHP already has >9000 keywords in Notepad++, so it’s not surprising there is at least one, and likely more, missing – even if there were 100 missing that would only be 1% of the total, which isn’t hugely significant.)

          thanks

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors