Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • CoisesC

      Search++: A work in progress

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      41
      4 Votes
      41 Posts
      2k Views
      CoisesC

      @guy038 said in Search++: A work in progress:

      -Then use the Tools > Marked text → Selections option

      => The 4 lines are ALSO selected

      Run a Ctrl + C action to put this selection in the clipboard Then, run a Ctrl + V action => The clipboard wrongly contains the string ABCDE

      So, despite of the Tools > Marked text → Selections action, nothing can be copied !?

      I wrote:

      After clicking on a button in a dialog, keyboard focus is on the button. (That’s standard Windows behavior, which I have not attempted to change in this case.) Your Ctrl+C went to the button. You needed to return focus to the document (e.g., Ctrl+N) before you could copy the selection.

      That is true, but there is also a flaw in Marked text → Selections that causes an extra, empty selection to be included at the beginning, which could cause unexpected results when pasting.

      A new version will be coming, but probably not until sometime tomorrow. Thank you for all your feedback.

    • CoisesC

      A question about dark mode, plugins, and an owner-draw ComboBox

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      0 Votes
      3 Posts
      43 Views
      CoisesC

      @rdipardo said in A question about dark mode, plugins, and an owner-draw ComboBox:

      Try passing the control’s handle to the ::SetWindowTheme function provided by the uxtheme header, using L"DarkMode_CFD" as the pszSubAppName; to restore light mode, call it with the same arguments, but change pszSubAppName to a null pointer.

      Thanks, Robert. At first attempt, this doesn’t appear to solve the problem.

      The colors are right with just NPPM_DARKMODESUBCLASSANDTHEME; the problem is that the static control shows unknown text instead of the selected drop-down entry, and attempting to select from the drop-down produces bizarre highlighting and tracking instead of what is expected (and still doesn’t set the static control). Adding the SetWindowTheme call doesn’t change that. Removing NPPM_DARKMODESUBCLASSANDTHEME, of course, makes everything else light, and for the control in question, SetWindowTheme only seems to change the drop-down chevron. Interestingly, NPPM_DARKMODESUBCLASSANDTHEME does get all the colors right, including in the owner-drawn drop-down; it just breaks the functionality in the process.

      The problem goes away entirely if I remove the CBS_OWNERDRAWFIXED style (but then, of course, it doesn’t display as intended, showing the color associated with each indicator that can be selected). That’s why I feel like the problem is most likely to do with the sub-classing. I can’t find any clear documentation on how all that works. I don’t even know why the controls are being sub-classed, and not just themed. Maybe there is a way to exempt that control from sub-classing, and do whatever it is that the sub-classing does in my own code?

      A pointer to actual documentation on this design, how it works and how it is meant to be used would be wonderful, but I’m guessing no such thing exists. :-(

    • 一荣孤怪一

      奸叛国者,必万斩之

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      7
      -1 Votes
      7 Posts
      1k Views
      Lycan ThropeL

      @Fii-Ert ,

      815
      我之前的评论依然有效。你那些显而易见的人身攻击,暴露了你在辩论中缺乏诚信;而你那种以为对手除了你们党派灌输的那些教条之外便对外部世界一无所知的臆想,更是与事实相去甚远。你可以试着去蒙骗那些涉世未深的人,但请把你的那一套宣传留给你该留的地方——也就是你那充满倒退色彩、妄图称霸世界的“中国梦”里去吧。

      如果你除了那些含糊其辞的陈词滥调和人身侮辱之外别无他物,那么中国人民当真是彻底迷失了方向,永远无法摆脱自我膨胀的桎梏,更无法拥有超越眼前狭隘视野的眼光。请你再消失个四年吧。我确信,贵国对外部网络的封锁或许是你这四年间音讯全无的部分原因,但这四年过去,你既没有变得更加清醒,也没有变得更加博学。好自为之吧,我们的对话到此为止。

    • Cmykmust668C

      傻逼软件吧 中文按钮放的什么国旗

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      24
      0 Votes
      24 Posts
      25k Views
      Fii ErtF

      @bwisely
      Religious freedom?
      You mean NaZi freedom.

      什么宗教自由?根本纳粹自由。
      记不记得40%当时胜选总统的时候多猖狂,大叫在野党「输不起」。
      结果呢?自己选输立法院,输不起,违法在选举结束之后不到一年之内,开始大罢免。

      操纵司法,操纵媒体舆论,为了掩饰自己贪污,诬蔑柯文哲贪污。
      迫害政敌,活活逼迫某夫人跳楼自杀。

      大罢免大便32比0,一席也没罢掉,倒是苛贱民下台滚出立法院了,真是大快人心,活该自找,天谴报应。

      一场大罢免,世界级闹剧,白费公帑12亿不说,某网红甚至自己承认自己「模仿希特勒」,组织冲锋队。

      你们根本不知道,也没有所谓「宗教自由」,有的只是「信仰邪教的自由」。谁不信邪教,谁就该死;谁敢批评执政党,谁就被肃清迫害。