Send Notepad-plus-plus mailing list submissions to
        notepad-plus-plus@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/notepad-plus-plus
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Notepad-plus-plus digest..."


Today's Topics:

   1. [notepad-plus - Help] Any way to make read-only   the default?
      (SourceForge.net)
   2. [notepad-plus - Help] RE: Param and Calltip       Help Please!
      (SourceForge.net)
   3. [notepad-plus - Help] HTML/Javascript IE Problem (SourceForge.net)
   4. [notepad-plus - Help] RE: Unable to open txt      files!
      (SourceForge.net)
   5. [notepad-plus - Open Discussion] help to add      numbered ids in
      text file (SourceForge.net)
   6. [notepad-plus - Open Discussion] RE: help to      add numbered ids
      in text file (SourceForge.net)
   7. [notepad-plus - Open Discussion] RE: help to      add numbered ids
      in text file (SourceForge.net)
   8. [notepad-plus - Open Discussion] RE: help to      add numbered ids
      in text file (SourceForge.net)


----------------------------------------------------------------------

Message: 1
Date: Tue, 18 Nov 2008 09:18:16 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] Any way to make
        read-only       the default?
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5666523
By: tonysinc

I would like to use NP++ as my main file viewer, but I want it to open files
as read only by default.  I know that this can be done with the command line
version, but is there any option I can set so that the Windows version does
it?  Thank you.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=331754



------------------------------

Message: 2
Date: Tue, 18 Nov 2008 09:20:35 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Param and
        Calltip Help Please!
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5666532
By: dv__

Be sure you are editing a file with ".cpp" extension.
The pop-up window (the hint) with parameters will be shown right after you type

fopen(

The hint will not be shown until you type the opening brace '(' .

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=331754



------------------------------

Message: 3
Date: Tue, 18 Nov 2008 10:17:03 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] HTML/Javascript IE
        Problem
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5666777
By: munkeybasket

Hi All,

i used to use Notepad++ here at work all the time for webfocus development and
it worked like a dream- in fact it quickly became my favourite devlopment 
environment
so it was a no brainer to choose it for my home projects...

the problem i got was that any html which had javascript or an object such as
an <embed> tag wouldn't work properly in IE via the run in IE command...

i get this error:

To help protect your security, Internet Explorer has restricted this file from
showing active content that could access your computer. Click for options....

using IE 8 at home there was nothing in the scruity or advanmced options i could
set that would stop this error- in fact many times going back to the options
showed that the setings i had previously set had not saved- in short there was
nothing i could turn off or on in IE to stop this from happening- i gave up
and used Firefox...

problem is at work my computer needed reimaging- ive had to reload notepad++
and im now getting the IE issue i was getting at home.... and i simply don't
know how to fix it

now i know this is a browser issue but if i run the html from my webfocus 
environment
i have no problems with IE and we are not allowed to use Firefox here at work...

therefore im desperate to get this working as ill have to start using the 
webfocus
environment again for my html development which isn't as stable, quick or as
nice to use as the notepad++ environment...

can anyone help?









______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=331754



------------------------------

Message: 4
Date: Tue, 18 Nov 2008 10:37:54 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Help] RE: Unable to open
        txt     files!
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5666866
By: liquidream

Thank you dleigh1, that was driving me mad too!

I set the session extension to "TXT" the other day *thinking* that it would
use it as the default file extention when I create and save a new document.
It didn't and (obviously now) buggered up Notepad++ from opening TXT files.

Should've made the connection, but didn't!  :o)

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=331754



------------------------------

Message: 5
Date: Tue, 18 Nov 2008 11:24:04 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] help to
        add     numbered ids in text file
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5667111
By: chetanji

Hello to All, 
Notepad++ is my text editor of choice and love it!

I have hundreds of transcripts I need to add a sequintially numbered fileid
at the end of each line within.

Each transcript will have no less than 500 lines.

This is the example...

01  <s> CHAPTER ONE </s> (time_0001)
    
    -     -      -    -     -     -     -

98  <s> WE PLACE IN TODAYS WORLD </s> (time_0098)
99  <s> A MOUNTAIN CLIMBER </s> (time_0099)
100 <s> WHO WAS ON HIS WAY DOWN </s> (time_0100)
101 <s> FROM THE SUMMIT OF MOUNT EVEREST </s>
102 <s> DIED DUE TO LACK OF OXYGEN AND FROSTBITE </s>
103 <s> THE SADDEST PART OF THIS TALE </s>
104 <s> IS THAT EVEREST IS NOT </s>
105 <s> THE DESOLATE NO MANS LAND </s>

as you see above, the first three numbered lines have a fileid (time_xxxx) at
its end marking it individually.

Can a macro run through each line in this transcript, and  on line 101
add (time_0101)at the end?
on line 102 add (time_0102)at the end?
on line 103 add (time_0103)at the end?
on line 104 add (time_0104)at the end?
on line 105 add (time_0105)at the end?


Or is there another way?

Thanks so much.
Chetanji

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=331753



------------------------------

Message: 6
Date: Tue, 18 Nov 2008 12:16:55 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: help
        to      add numbered ids in text file
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5667359
By: chetanji

I have already taken a transcript written normally and broken it 

into short utterances and then..

added the <s> & </s> and capitalized with text features in 
Notepad++ just like you see above.

It is too tedious to add this needed fileid by hand for hundreds of
transcripts.

Thanks,
Chetanji



______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=331753



------------------------------

Message: 7
Date: Tue, 18 Nov 2008 12:30:20 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: help
        to      add numbered ids in text file
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5667417
By: przemoc

My answer probably won't satisfy you, but this task is very simple to accomplish
in AWK ("general purpose programming language that is designed for processing
text-based data, either in files or data streams", wikipedia).

$ awk '{ printf "%s (time_%04d)\n", $0, NR }' your_file

If you have some lines already numbered, than better action is:
$ awk '{ if ($0 !~ / \(time_[0-9]+\)$/) { printf "%s (time_%04d)\n", $0, NR
} else print $0 }'

Maybe Notepad++ should support AWK scripts? It would be really nice.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=331753



------------------------------

Message: 8
Date: Tue, 18 Nov 2008 12:57:04 +0000
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [Notepad-plus-plus] [notepad-plus - Open Discussion] RE: help
        to      add numbered ids in text file
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="UTF-8"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5667538
By: pcezar

Well,  AWK would be my first suggestion too :-)

If you really want to do it all inside N++, you can try the steps below.
Once you?ve got Simple Scripts installed and working, it takes more time 
describing
it here than executing it !!! ;-)

Hope it helps.


Here it goes:


Phase One
01. Install the Simple Script Plugin
02. Open your file
03. Add this code in the Simple Plugin Window: AddLineNumbersOffset("
","0",4,1)
04. Run the code

Suppose the original text is:

Line One
Line Two 
- - - - 
Line Four

Now it will be transformed into this:

0001 Line One
0002 Line Two 
0003 - - - - 
0004 Line Four

Phase Two: (record a macro to put line numbers at the end of each line)

01. Put the cursor at the beginning of the first line
02. Start macro recording
03. Shift-Right-Click 5 times (select until the first white space)
04. Ctrl-X (cut the selection)
05. End Key (goto end of line)
06. Insert "(time_"
07. Ctrl-V (paste line number)
08. Insert ")"
09. Home (goto beginning of the line)
10. Home (again, just to be sure in case "smart home" is active)
11. Down Key (goto next line)
12. Stop macro recording
13. Press Ctrl-Shift-P until done.

Final result:


Line One (time_:0001 )
Line Two  (time_:0002 )
- - - -  (time_:0003 )
Line Four (time_:0004 )




______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=331753



------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

------------------------------

_______________________________________________
Notepad-plus-plus mailing list
Notepad-plus-plus@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/notepad-plus-plus


End of Notepad-plus-plus Digest, Vol 30, Issue 45
*************************************************

Reply via email to