• setting font in both views (normal and other) How?

    5
    0 Votes
    5 Posts
    877 Views
    MacNalaM

    I think we can consider this question closed. Thanks for pointing me in the right direction.

  • Combining content of files?

    16
    0 Votes
    16 Posts
    730 Views
    EkopalypseE

    @Sarah-Duong

    Yes, as I said, DeepL does not support as many languages as Google, Microsoft etc… yet.
    In my opinion, the secret of a good translation is to be as accurate as possible in your native language.
    Furthermore, I proceed in such a way that I check whether the translated text can be meaningfully retranslated.
    If so, then it will be understandable, at least I hope so.
    Example data should NEVER be translated, otherwise exactly what you have described can happen.

  • IMVU xrf/crf Files

    5
    0 Votes
    5 Posts
    527 Views
    Kelsie SantosK

    @PeterJones

    Alright. Thanks.

  • Character Line Marker?

    4
    0 Votes
    4 Posts
    405 Views
    Martin RuppeM

    Yes, of couse. Many thanks.

  • folder as workplace window causes npp to close during a build

    7
    0 Votes
    7 Posts
    436 Views
    EkopalypseE

    @Mark-Russell-0

    I have tried to reproduce this crash but unfortunately I failed.
    Like you, I created 7 directories and added them in FAW.
    Then I created another 217 directories and 21000 files in these 7 directories.

    As a test I have now modified all 21000 files - Npp is not crashed.

    Maybe I haven’t reached the limit yet or there is still something you have to do to reproduce the crash.

  • problems with installing on windows

    2
    0 Votes
    2 Posts
    162 Views
  • AutoComplete: Keyword commands call tips?

    2
    0 Votes
    2 Posts
    318 Views
  • How to quit Notepad++ softly?

    7
    0 Votes
    7 Posts
    491 Views
    guthubnikG

    @PeterJones,

    sorry it was my mistake - I tried to search for this button it in FAQ desk.
    Here is the issue:

    Missing a command to close Notepad++ softly to avoid loss of recently changed settings (Issue: #8484)
    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8484

  • How to create a UDL just to highlight things in smart quotes?

    5
    0 Votes
    5 Posts
    409 Views
    tomunderT

    Ahh. I didn’t look closely enough at your screen shot. That explains it.

    Thanks for taking the time to help.

  • Please post a bug if not known yet

    1
    0 Votes
    1 Posts
    127 Views
    No one has replied
  • Save As dialog keeps popping up

    6
    0 Votes
    6 Posts
    3k Views
    Mr ZsomethingM

    @Alan-Kilborn That would be pretty neat, I may do that.
    Thank you!

  • Add VHDL to functionList.xml and interpret port map as class

    12
    2 Votes
    12 Posts
    707 Views
    el-coder-sbE

    @MAPJe71 Thanks a lot for your effort!
    So I think this topic has come to an (temporary?) end.
    With your last solution most of the possibilities are covered.
    Everyone who needs 3 & 1e covered can use my last post (at least as good point to start from).

    If anyone else has any idea how to cover all the possibilities, feel free to post your ideas :-)

  • “.txt” file extension

    3
    0 Votes
    3 Posts
    901 Views
    Alan KilbornA

    @Jim-JC-Caulfield said in “.txt” file extension:

    After the last update

    Not sure what that means; please be specific with version numbers that you are talking about.

    If you are talking about 7.8.7, then default behavior is to do exactly what you want, so I don’t understand…

  • Find in files, Replace!

    6
    0 Votes
    6 Posts
    361 Views
    Terry RT

    @Kirk-Lauritzen said in Find in files, Replace!:

    wipe out every td in the cells (column 2)

    If I understand correctly you have many tables, all of which are 3 columns wide with varying numbers of rows. Assuming there is a Header row (1st row generally) and a Description column (again generally the left most column) which we don’t want to clear, you are just wanting to clear the 2nd column of variable data, leaving the 3rd column variable data intact

    I made up a small table with the above description in mind Its:

    <html> <head> <title> HTML td </title> </head> <body> <h1>Clear 1st column variable data</h1> <h2>HTML td</h2> <table border="1" width="500"> <tr> <th>NAME</th> <th>AGE</th> <th>BRANCH</th> </tr> <tr> <td>BITTU</p></td> <td><p class=“d”>22</p></td> <td><p class=“b”>CSE</p></td> </tr> <tr> <td>RAKESH</p></td> <td><p class=“d”>25</p></td> <td><p class=“b”>EC</p></td> </tr> </table> </body> </html>

    Note that I’ve assumed here that the <p class=...> code is ONLY on the variable data fields. You do state =d and =b so these are used to identify the correct column to clear. You will need to confirm whether that is true if you want to try my solution.

    So using the “Replace” function
    Find What:(?s)(<td><p class.+?“d”>).+?(</p></td>)
    Replace With:\1\2
    You MUST use search mode “regular expression” and have wrap around ticked. I noted you mentioned extended in your first post, however I have shown the selection “regular expression” as the mode to use. You also mentioned about a particular field as “containing 21 wrapped lines”. I’m thinking these lines are in fact only 1 line and if you were to turn off “word wrap” (in Notepad++) then that field would extend far to the right (off screen).

    There a few assumptions I’ve had to make as you have not made much very clear, as the others have stated. In fact an example, much like I produced above, would have made a significant step forward in outlining your problem and request. To go even further, you could show that same code with the relevant data removed, thus giving us a more complete picture of the before and after situation (as @PeterJones mentioned). The quotes you use around the d and b may also have been altered in copying into the NPP post so you may need to alter them in my “Find What” expression if they aren’t of the correct kind, I did copy them from your post.

    Terry

  • How to display CSS style on a PHP page?

    4
    0 Votes
    4 Posts
    1k Views
    PeterJonesP

    @Jonathan-Nich ,

    If you want to use @andrecool-68’s suggestion of adding the lexers to the context menu: in case it wasn’t clear, the arrow wasn’t meant to indicate that opening the Languages menu will give the popup in the screenshot – rather, he modified his right-click ContextMenu to include a Syntax Language folder which allows changing to his favorite list of languges. See this discussion, where we delve more deeply into how @andrecool-68 made that folder in the context menu. To make the edits, you will use Settings > Edit Popup ContextMenu to change the settings in contextMenu.xml. See the contextMenu docs here for more on the syntax.

    Alternately, you could set up a script similar to the ones described in this other thread. The post I linked contains a script which toggles between XML and HTML, which could be quickly adapted to work with CSS and PHP. Throughout the thread, there are also examples of using a macro to just set the language instead of toggling, and other similar concepts.

  • Automatically enable Monitoring

    4
    0 Votes
    4 Posts
    340 Views
    EkopalypseE

    @moon6969

    btw. there is this undocumented -z parameter
    which could be a trigger for your plugin.

  • How do I delete a line with a certain number in it

    10
    0 Votes
    10 Posts
    650 Views
    Terry RT

    @Squirtleshell said in How do I delete a line with a certain number in it:

    How would I keep the $100.0 and 100.0%

    Assuming everything is on separate lines then you can use the bookmark feature. This is available under the main menu option “Search”, then look for “Mark”.
    In the field just type 100\.0 (assuming search mode is regular expression, otherwise just 100.0 under “Normal” search mode as the . character has special meaning). So one mark operation with the “bookmark” option ticked will find both the $ and the % lines.
    Once the lines have been marked you should see a character at the start of each line marked, usually a blue circle. Now you can remove the non marked lines by using “Search”, “Bookmark” and then “Remove Unmarked Lines”.
    That completes the solution to your first problem.

    As the the second question, how to keep only the code at the start of each remaining line, this I’d do with a regular expression.
    So using the Replace function (as has been shown before) we have
    Find What:(?-s)^(\d+).+
    Replace With:\1
    Make sure “regular expression” selected for search mode, wrap around should be ticked. Click on the “Replace All” button.

    Terry

  • adding html formatting shortcuts (ctrl b for bold, ctrl i for em, etc.)

    3
    0 Votes
    3 Posts
    2k Views
    astrosofistaA

    @Kenneth-LaVoie said in adding html formatting shortcuts (ctrl b for bold, ctrl i for em, etc.):

    I want to be able to highlight a word and hit “control b” and have it put <strong>highlighted word</strong>

    Hi @Kenneth-LaVoie:

    In addition to the good advice from @Ekopalypse, you can also get what you want through a macro, to which a command can be assigned.

    See details in this thread: Update on option to <bold>selection</bold>?

  • Los saved file

    2
    0 Votes
    2 Posts
    154 Views
    EkopalypseE

    @akancha-poddar

    If it was saved, it should be available on the hard disk, right?
    If it was not saved, then depending on your installation,
    you may have the latest version in the backup directory.

  • Where does "Split Lines" actually split?

    4
    0 Votes
    4 Posts
    750 Views
    PeterJonesP

    @freeSeeker said in Where does "Split Lines" actually split?:

    Should I document that in the discussion thread?

    Yes, adding your experience to the bug report would help.