Community
    • 登入

    Help with modifying .ini Language / Comment Lines

    已排程 已置頂 已鎖定 已移動 Help wanted · · · – – – · · ·
    3 貼文 2 Posters 2.5k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • WildByDesignW
      WildByDesign
      最後由 編輯

      I have what is likely a very basic question, but I have been unable to figure out.

      My usage:

      Language: MS ini file (standard .ini config files)
      Comment Lines: # and !

      Goal: To remove ! from being used as a Comment Line

      • I would like to continue using # for comment lines; but not !

      I like how the Style Configurator has options to make comment lines show as italic font and with different colour for those lines. This is what I would like to continue working for the # comment lines but I simply want to be able to modify the language capability so that lines starting with ! do not show up as comment lines specifically for these .ini files.

      I have spent several hours over the past few days looking through the Notepad++ language files, specifically within the .ini file sections trying to understand how the languages work within Notepad++ but this modifying of language functionality is beyond my knowledge at the moment.

      Thank you for your time.

      1 條回覆 最後回覆 回覆 引用 0
      • Claudia FrankC
        Claudia Frank
        最後由 編輯

        @WildByDesign

        this is part of the lexer which is hardcoded and cannot, as of now, be modified
        through setting changes.

        Cheers
        Claudia

        WildByDesignW 1 條回覆 最後回覆 回覆 引用 0
        • WildByDesignW
          WildByDesign @Claudia Frank
          最後由 編輯

          @Claudia-Frank Thank you for confirming.

          1 條回覆 最後回覆 回覆 引用 0
          • 第一個貼文
            最後的貼文
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors