Tapatalk

Count lines in all open files

Count lines in all open files

1
NewbieNewbie
1

    Mar 03, 2005#1

    Does anyone have a macro that will count the lines in all currently open files?

    21
    Basic UserBasic User
    21

      Mar 03, 2005#2

      An easy way to get your answer is to do a search replace on all open files. Do a non regular expression search for ^p and replace with same ^p.

      The upside to doing this is UE gives you feedback on what it replaced.
      Example 14 items replaced in 2 files.

      The down side of this method is that you have just marked every file as being changed hence when you exit you'll be prompted to save your changes.