Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 56
  1. #16
    Join Date
    Aug 2005
    Location
    Cranbourne West
    Age
    72
    Posts
    3,612

    Default

    Hey WoodPixel, I need a bit more help please.
    Although I could probably do this in OpenOffice Writer, Notepad++ is so fast that I would prefer to use it.

    All the place names are a mixture of all caps and first letter only caps, but they are separated from the rest of the text by a comma. Is it possible to change them to all first letter only caps. It will be made harder because the state is also before the comma and I would like it to remain all caps.


    Aberbaldie Nature Reserve NSW,Reserve,,-31.07000,151.42000
    ABERBALDIE NSW,Homestead,,-31.10000,151.44000
    Aberbaldie NSW,Parish,,-31.13000,151.41000
    Abercorn Creek NSW,Stream,,-30.27000,152.52000
    Abercorn NSW,Parish,,-33.99000,149.91000
    Abercorn NSW,Trig,,-29.06000,149.71000
    ABERCORN QLD,Locality,,-25.14000,151.14000
    ABERCORN QLD,Urban,,-25.13000,151.12000
    ABERCORN QLD,Parish,,-17.60000,144.06000
    ABERCORN QLD,Rail,,-25.13000,151.13000
    Abercorne Creek WA,Stream,,-15.61000,128.37000
    Abercrombie Caves NSW,Locality,,-33.89000,149.35000
    Abercrombie Caves NSW,Cave,,-33.90000,149.35000
    Abercrombie Channel NSW,Channel,,-34.71000,143.86000
    Abercrombie Channel NSW,Channel,,-34.71000,143.86000
    Abercrombie Creek NSW,Stream,,-29.81000,152.46000
    Abercrombie Creek NSW,Stream,,-34.68000,144.60000
    Abercrombie Creek NSW,Stream,,-34.74000,144.60000
    Abercrombie Farm SA,Homestead,,-37.77000,140.82000
    ABERCROMBIE FARM SA,Homestead,,-37.77000,140.82000

    Abercrombie NSW,Parish,,-36.03000,149.25000
    Abercrombie NSW,Parish,,-34.64000,144.68000
    Abercrombie NSW,Parish,,-33.91000,149.25000

    Also as you can see there are duplicated place names ans coordinates. Is it possible to search for duplicate occurrences without typing in the text string, and delete all but one?

    Thanks again for putting me on to this editor, this job would be impossible without it.
    To grow old is inevitable.... To grow up is optional

    Confidence, the feeling you have before you fully understand the situation.

    What could possibly go wrong.

  2. # ADS
    Google Adsense Advertisement
    Join Date
    Always
    Location
    Advertising world
    Age
    2010
    Posts
    Many





     
  3. #17
    Join Date
    Feb 2016
    Location
    Canberra
    Posts
    5,124

    Default CaMel Casing and FIXinG wobblY Words....

    Why yes!

    Install the TextFX plugin. (Plugins --> Plugin Manager --> Show Plugin Manager). Select TextFX from the list, install and restart Notepad++.

    Highlight everything (CTRL-A) then Edit --> Convert Case To -->Proper Case (or one of the options you prefer).

    It will fry ACT, NSW, etc, but just do a Find/Replace for " nsw" to " NSW".... one for each state.

  4. #18
    Join Date
    Feb 2016
    Location
    Canberra
    Posts
    5,124

    Default Duplicates

    1 - Mark all the text (CTRL+A). ...

    2 - Click TextFX --> Click TextFX Tools --> Click Sort lines case insensitive (at column)

    3 - Duplicates and blank lines have been removed and the data has been sorted alphabetically.

    Ensure these two options are selected. You may need to run it twice .... sometimes it just sorts it, but the second time removes dupes.

    dupes.jpg

  5. #19
    Join Date
    Feb 2016
    Location
    Canberra
    Posts
    5,124

    Default a video!

    Here is a video showing it on my desktop using the sample you provided: https://drive.google.com/file/d/0B4_...ew?usp=sharing

    Its a file.

    Should play OK with Windows Media player or VLC Media Player (my recommendation).

    In it I show:

    -- copy paste from the sample
    -- Highlighting everything
    -- Doing the sort thing and showing that the duplicate has been deleted (a line disappears)
    -- then doing the Proper Casing thing.

    I show that NSW is changed to Nsw which is but a trivial headache to fix

  6. #20
    Join Date
    Aug 2005
    Location
    Cranbourne West
    Age
    72
    Posts
    3,612

    Default

    Thanks mate, I'll have a crack at it now.
    I'm up to save #18 .
    To grow old is inevitable.... To grow up is optional

    Confidence, the feeling you have before you fully understand the situation.

    What could possibly go wrong.

  7. #21
    Join Date
    Aug 2005
    Location
    Cranbourne West
    Age
    72
    Posts
    3,612

    Default

    Quote Originally Posted by woodPixel View Post
    Why yes!

    Install the TextFX plugin. (Plugins --> Plugin Manager --> Show Plugin Manager). Select TextFX from the list, install and restart Notepad++.

    Highlight everything (CTRL-A) then Edit --> Convert Case To -->Proper Case (or one of the options you prefer).

    It will fry ACT, NSW, etc, but just do a Find/Replace for " nsw" to " NSW".... one for each state.
    I only have Plugins--> Converter or
    Plugins--> MIME.


    Running latest version v7.2.2
    To grow old is inevitable.... To grow up is optional

    Confidence, the feeling you have before you fully understand the situation.

    What could possibly go wrong.

  8. #22
    Join Date
    Feb 2016
    Location
    Canberra
    Posts
    5,124

    Default

    I also recorded a video showing how to sort everything properly: https://drive.google.com/open?id=0B4...GNqSFlHc0p6WEU

    No doubt this will help when using the GPS!

  9. #23
    Join Date
    Feb 2016
    Location
    Canberra
    Posts
    5,124

    Default

    Quote Originally Posted by Grumpy John View Post
    I only have Plugins--> Converter or
    Plugins--> MIME.

    Running latest version v7.2.2
    Here is a vid showing where to find it and how its installed and showing mine installed: https://drive.google.com/open?id=0B4...zJXUVprS0lza0U

  10. #24
    Join Date
    Aug 2005
    Location
    Cranbourne West
    Age
    72
    Posts
    3,612

    Default

    What I see on my screen

    notepad.jpg
    To grow old is inevitable.... To grow up is optional

    Confidence, the feeling you have before you fully understand the situation.

    What could possibly go wrong.

  11. #25
    Join Date
    Feb 2016
    Location
    Canberra
    Posts
    5,124

    Default

    OOOPSS! Forgot to tell you that the plugin Manager is itself a plugin

    Plugin Manager for Notepad++

    Down the bottom is the instruction on how to install it. Very simple!

  12. #26
    Join Date
    Aug 2005
    Location
    Cranbourne West
    Age
    72
    Posts
    3,612

    Default

    Do I need unicode, or ansi, or both?
    To grow old is inevitable.... To grow up is optional

    Confidence, the feeling you have before you fully understand the situation.

    What could possibly go wrong.

  13. #27
    Join Date
    Feb 2016
    Location
    Canberra
    Posts
    5,124

    Default

    ANSI unless you are working with non-English characters.

  14. #28
    Join Date
    Aug 2005
    Location
    Cranbourne West
    Age
    72
    Posts
    3,612

    Default

    Help!!!!!!


    Oops.jpg
    To grow old is inevitable.... To grow up is optional

    Confidence, the feeling you have before you fully understand the situation.

    What could possibly go wrong.

  15. #29
    Join Date
    Feb 2016
    Location
    Canberra
    Posts
    5,124

    Default

    Try the latest version 1.4.3.0 -- https://github.com/bruderstein/nppPl...nager/releases

  16. #30
    Join Date
    Aug 2005
    Location
    Cranbourne West
    Age
    72
    Posts
    3,612

    Default

    I was running the 64 bit version, Plugin Manager is not available for 64 bit version .
    Have installed 32 bit version and all is good.
    To grow old is inevitable.... To grow up is optional

    Confidence, the feeling you have before you fully understand the situation.

    What could possibly go wrong.

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Micro-Macros
    By Ed Reiss in forum PHOTOGRAPHY
    Replies: 0
    Last Post: 3rd February 2013, 01:49 PM
  2. New Macros
    By Ed Reiss in forum PHOTOGRAPHY
    Replies: 4
    Last Post: 10th November 2011, 08:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •