Menu

#42 Source type loss

None
closed
nobody
2023-02-23
2020-12-30
No

I do not know if I am the one using Bluefish badly, but I notice that the software loses the language defined in the Document-> Language menu.
Just a report. I use Bluefish a lot. Thank you.

Related

Tickets: #42

Discussion

  • Olivier Sessink

    Olivier Sessink - 2020-12-30

    what do you mean by "loses" ? What happens, when does it loose the setting?

     
    • Gérard Caussidéry

      I use Google translate. I will try to explain better. When I create an
      empty file which will contain a source in php, I go to the "Document" menu
      then in Language then I click in PHP. Or I write the code of my page with
      HTML, CSS, Javascript and PHP. The syntax highlighting is perfect. Then I
      save the file under a name like toto.php. Later when I reopen this file,
      the syntax highlighting is gone. So I have to go back to "Document" ->
      "Language" which displays "HTML". So I clicked on PHP again. Here. Thank
      you again, it is not very important and I will manage it. Thanks again.
      Gerard

      Le mer. 30 déc. 2020 à 21:02, Olivier Sessink oli4@users.sourceforge.net
      a écrit :

      what do you mean by "loses" ? What happens, when does it loose the setting?

      Status: open
      Milestone: 2.2.12
      Created: Wed Dec 30, 2020 08:48 AM UTC by Gérard Caussidéry
      Last Updated: Wed Dec 30, 2020 08:48 AM UTC
      Owner: nobody

      I do not know if I am the one using Bluefish badly, but I notice that the
      software loses the language defined in the Document-> Language menu.
      Just a report. I use Bluefish a lot. Thank you.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/bluefish/tickets/42/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #42

      • Olivier Sessink

        Olivier Sessink - 2021-01-01

        Bluefish does not remember the file type for a document, it tries to detect the file type from the contents when it opens (any) file. Does Bluefish detect any php files correctly on your system?

         
        • Gérard Caussidéry

          In fact, the good solution is very simple, it was enough to know it is to
          put:
          <meta http-equiv="content-type" content="text / php; charset = UTF-8">
          Gérard

          Le ven. 1 janv. 2021 à 12:52, Olivier Sessink oli4@users.sourceforge.net
          a écrit :

          Bluefish does not remember the file type for a document, it tries to
          detect the file type from the contents when it opens (any) file. Does
          Bluefish detect any php files correctly on your system?


          Status: open
          Milestone: 2.2.12
          Created: Wed Dec 30, 2020 08:48 AM UTC by Gérard Caussidéry
          Last Updated: Wed Dec 30, 2020 08:02 PM UTC
          Owner: nobody

          I do not know if I am the one using Bluefish badly, but I notice that the
          software loses the language defined in the Document-> Language menu.
          Just a report. I use Bluefish a lot. Thank you.


          Sent from sourceforge.net because you indicated interest in
          https://sourceforge.net/p/bluefish/tickets/42/

          To unsubscribe from further messages, please visit
          https://sourceforge.net/auth/subscriptions/

           

          Related

          Tickets: #42

        • Gérard Caussidéry

          En fait, non, je croyais avoir trouver la solution, mais cette ligne de
          code est insuffisante.

          In fact, no, I thought I had found the solution, but this line of code is
          insufficient.

          Gérard

          Le ven. 1 janv. 2021 à 12:52, Olivier Sessink oli4@users.sourceforge.net
          a écrit :

          Bluefish does not remember the file type for a document, it tries to
          detect the file type from the contents when it opens (any) file. Does
          Bluefish detect any php files correctly on your system?


          Status: open
          Milestone: 2.2.12
          Created: Wed Dec 30, 2020 08:48 AM UTC by Gérard Caussidéry
          Last Updated: Wed Dec 30, 2020 08:02 PM UTC
          Owner: nobody

          I do not know if I am the one using Bluefish badly, but I notice that the
          software loses the language defined in the Document-> Language menu.
          Just a report. I use Bluefish a lot. Thank you.


          Sent from sourceforge.net because you indicated interest in
          https://sourceforge.net/p/bluefish/tickets/42/

          To unsubscribe from further messages, please visit
          https://sourceforge.net/auth/subscriptions/

           

          Related

          Tickets: #42

  • clansco

    clansco - 2021-01-10

    As I remember you have to use <?php and not <?= or <? so that Bf can recognize your file as php
    Regards,
    ff

     
    • Gérard Caussidéry

      Well done, you have found the right answer. I did not know this evolution
      of short commands in PHP.
      Thanks again.
      Gerard

      Le dim. 10 janv. 2021 à 10:10, clansco clansco@users.sourceforge.net a
      écrit :

      As I remember you have to use <?php and not <?= or <? so that Bf can
      recognize your file as php
      Regards,
      ff


      Status: open
      Milestone: 2.2.12
      Created: Wed Dec 30, 2020 08:48 AM UTC by Gérard Caussidéry
      Last Updated: Fri Jan 01, 2021 11:52 AM UTC
      Owner: nobody

      I do not know if I am the one using Bluefish badly, but I notice that the
      software loses the language defined in the Document-> Language menu.
      Just a report. I use Bluefish a lot. Thank you.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/bluefish/tickets/42/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #42

  • Dr. Martin Senftleben

    • labels: --> PHP, code language support
    • status: open --> closed
     
  • Dr. Martin Senftleben

    Since the issue is solved, the ticket will be closed.

     

Log in to post a comment.

MongoDB Logo MongoDB