Programmer's Notepad is a text editor for Windows.
It is primarily written in C++ and extensible using Python, and is built on the following technologies:
Clone the tree, then see the Build Instructions
Programmer's Notepad
Programmer's Notepad is a text editor for Windows.
It is primarily written in C++ and extensible using Python, and is built on the following technologies:
Clone the tree, then see the Build Instructions
Original issue 3 created by simonsteele on 2008-03-10T13:46:53.000Z:
Migrated from: http://sourceforge.net/tracker/index.php?
func=detail&aid=1841019&group_id=45545&atid=443221
now i have done the following bugfix and new features:
This is an enhancement request:
When using the "Go To Line" dialog box (ctrl G), it would be nice to have the provided line number positioned in the middle of the edit window. Currently, sometimes it is placed at the top, sometimes at the bottom of the window, depending on the prior location.
Good morning,
This is the perfect editor accept for one thing.
I'm one that puts up many windows, organized, so i can bounce around between them and see many code segments concurrently. I don't use the tabbed approach.
Closing down and re-opening workspaces, and/or projects, does not maintain the previous window positions. An older editor like Crimson will maintain individual window positions.
Is this doable for you ?
This is actually very important to me as I deal with many projects on any given day. Re-ordering windows is counter-productive.
I thank you : )
Original issue 13 created by simonsteele on 2008-03-13T22:13:25.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Verilog scheme is selected instead of VHDL, the sorting of the list is
interfering with the selection model.
Original issue 4 created by simonsteele on 2008-03-10T13:48:04.000Z:
Migrated From: http://sourceforge.net/tracker/index.php?
func=detail&aid=1816454&group_id=45545&atid=443221
SOmetimes a caret is not shown for the active tab.. and whatever editing
that is done, is done in some other tab which is not active.. (Esp when a
file with different scheme is opened)
Which means that PN fails to give keyboard focus to the Text view in the
active tab view..
Here is the patch that fixes this small bug..
Steps to reproduce :
Patch ::
In PN_NOTFIY handler of the mainfrm (OnChildNotify method).. I have just
added the code that simulates the mouse click in the active tab view. This
gives a focus to active view..
Original issue 8 created by simonsteele on 2008-03-11T13:12:09.000Z:
PN 2.0.8
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Tabs should not be shown, tabs are shown! Note that the option to show
tabs only with maximised documents also doesn't seem to work.
if there is such option already, is it documented?
If it is not existing it may be an interesting feature to add to ease integration of PN as editor for this and that.
Recently I've discovered that my text cursor in PN is almost invisible. If I set it to a thick cursor, I can see that it is light grey. Is this a bug, or is it something I can set somewhere? I've been checking the options, but have so far come up with nothing.
Original issue 18 created by simonsteele on 2008-03-18T08:04:40.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
The action should be the same as re-open a file
What version of the product are you using? On what operating system?
All versions on all OSes.
Please provide any additional information below.
I've patched it in the attachment. And in this patch, the last enhancement
requred in issue # 17 is also included. Thanks.
In my development needs i frequently have project in project group with source files that i use for view/search but don't want to modify. Now for such behavior should i switch to protect each opened file manually. It would be great if i could toggle write protection only once on project or folder in project.
Original issue 12 created by simonsteele on 2008-03-13T11:40:09.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
No tags in pnotepad's tags box (called with Alt-G). This is the output
file:
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not
append ;" to lines/
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
!_TAG_PROGRAM_AUTHOR Darren Hiebert /[email protected]/
!_TAG_PROGRAM_NAME Exuberant Ctags (PN2 Edition) //
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
!_TAG_PROGRAM_VERSION 5.6 //
100 C:\Home\Abramson\Work\Traffic\traffic6.f /^100
j=ran2(iseed)_n+1$/;" l file:
11 C:\Home\Abramson\Work\Traffic\traffic6.f /^11
continue$/;" l function:ran2 file:
bottom C:\Home\Abramson\Work\Traffic\traffic6.f /^ integer(2)
top, left, bottom,/;" v
ihres C:\Home\Abramson\Work\Traffic\traffic6.f /^ integer(2)
top, left, bottom, right, ix, iy, ihres,/;" v
intemperance C:\Home\Abramson\Work\Traffic\traffic6.f /^
double precision intemperance$/;" v
ivres C:\Home\Abramson\Work\Traffic\traffic6.f /^ integer(2)
top, left, bottom, right, ix, iy, ihres, ivres$/;" v
ix C:\Home\Abramson\Work\Traffic\traffic6.f /^ integer(2)
top, left, bottom, right, ix,/;" v
iy C:\Home\Abramson\Work\Traffic\traffic6.f /^ integer(2)
top, left, bottom, right, ix, iy,/;" v
left C:\Home\Abramson\Work\Traffic\traffic6.f /^ integer(2)
top, left,/;" v
mtext C:\Home\Abramson\Work\Traffic\traffic6.f /^
character_15 sites1,mtext$/;" v
ran2 C:\Home\Abramson\Work\Traffic\traffic6.f /^ FUNCTION
ran2(/;" f
right C:\Home\Abramson\Work\Traffic\traffic6.f /^ integer(2)
top, left, bottom, right,/;" v
sites1 C:\Home\Abramson\Work\Traffic\traffic6.f /^
character_15 sites1,/;" v
status C:\Home\Abramson\Work\Traffic\traffic6.f /^ LOGICAL
status /;" v
time1 C:\Home\Abramson\Work\Traffic\traffic6.f /^ character_20
time1$/;" v
top C:\Home\Abramson\Work\Traffic\traffic6.f /^ integer(2)
top,/;" v
What version of the product are you using? On what operating system?
PNotepad 2.0.8.718-basie, on Windows XP Pro SP2 (in Spanish).
Please provide any additional information below.
Using schemes Fortran 95 or Fortran 77 in PN produces the same (no tags,
see screen capture attached).
Guillermo
[email protected]
Original issue 25 created by simonsteele on 2008-03-25T10:19:34.000Z:
What steps will reproduce the problem?
1.Open several general files (*.txt, *.cpp)
2.Menu File -> Save Workspace As... -> C:\1.pnws
3.Close PNotepad.
4.Run PNotepad again
5.Menu File -> Open -> C:\1.pnws
What is the expected output? What do you see instead?
expected:Open the Workspace (Open files in that workspace) as Version
v2.0.6.x
Actual:PNotpad open 1.pnws as text file (XML like), instead open the
Workspace.
What version of the product are you using? On what operating system?
File Version: 2.0.8.718-basie
OS: WinXP SP2
Please provide any additional information below.
How about add a new menuitem called "Open Workspace..."?
Original issue 1 created by simonsteele on 2008-03-08T16:34:57.000Z:
The attached zip file contains changes to rev ~716 of PN trunk to
implement simple tags-tree based "Go To Definition" - based on work by
Manuel Sandoval adapted by me to use User Selection List to provide
multiple choice support.
The default powershell scheme file has .scheme extension, and doesn't seem to highlight ps1 files correctly for me. Renaming the file to .schemedef appears to work (code is color-highlighted correctly).
Also, the Edit>Comments items are disabled, so I can't automatically comment/uncomment code, which is a bummer. There is this in the .scheme file:
<comments>
<line start="#" />
</comments>
That helps highlight comments, but still can't add/remove them with PN. I added this:
<block start="<#" end="<" />
Which helps w/ block comments.
Where do I start to figure out how to enable comment/uncomment via scheme in PN? Thanks!
v2.4.0.2378-duke.
Original issue 21 created by simonsteele on 2008-03-23T14:03:19.000Z:
Context menu for Magic Folders in projects pane could have a "shell"
submenu, showing the standard Shell context menu ;
minor addition : double-clicking a Magic Folder could bring up the Explorer
on the underlying folder.
Original issue 20 created by simonsteele on 2008-03-22T18:06:01.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
I expect to be able to type out a word. Instead, it attempts to
autocomplete JUST using the letter I type as the first letter. For example,
I'd like to search for "register". I type R, and it doesn't type anything,
it just opens the autocomplete menu and shows me previous queries I've run
that start with r. If I select "r" from that submenu, move the pointer
after it, and press "e", it lets me complete it normally (sometimes). Other
times, it won't let me type AT ALL unless I choose something from
autocomplete, type in the middle of the word, then delete everything on
each side of what I want. Or, I can type out the word I want in the
document itself, highlight it, and then it will show up when I hit ctrl-F.
In general, it is absurdly difficult for me to actually search.
What version of the product are you using? On what operating system?
v2.0.6.1-ella, though I update frequently hoping this is fixed, but it's
not. I've used several versions. I run Windows Vista on this laptop.
Please provide any additional information below.
I uploaded a video demonstrating my problem to YouTube:
http://youtube.com/watch?v=h0qCT6PcBao
Original issue 19 created by simonsteele on 2008-03-20T13:22:00.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
The textfield should not autofill with the first guess. If I want to use a
guess, I should choose it explicitly from the drop down that appears.
What version of the product are you using? On what operating system?
Latest. Windows.
Please provide any additional information below.
After following the instructions at pnotepad.org/docs/dev/how_to_compile_pn I started pn.exe
. The window itself looks fine but it shows Debug Assertion Failed
, Included here are a dump and a screenshot:
I'm using 2.4rc and have noticed that find / find next jump to the bottom of the file and work back from there with each press of F3.
...
update: please consider closed. Years as a user and I'd never noticed the 'search up' option in the 'Find' dialog!
Original issue 15 created by simonsteele on 2008-03-17T03:49:02.000Z:
I tried to compile the whole src ball in VS2008 express edition(with ATL
files from VS2005 folders), it worked well with only one change: The
string.h was renamed to pstring.h. Looked like the name of string.h
confuse the compiler with the one of the same name in the standard include
folder.
There r just two header files which include our string.h, say pn.h and
extiface.h, I think it is acceptable to change its name to pstring.h to
enhance the compatiblity.
Would be nice if I could drag a tab and drop it on a project folder to add it.
Original issue 23 created by simonsteele on 2008-03-23T14:08:46.000Z:
Projects pane could remember the last opened project / group, (turn on/off
in options) independently from files.
Original issue 17 created by simonsteele on 2008-03-17T13:24:55.000Z:
As mentioned in the forum:
Thanks
I recently uninstalled PN but it didn’t take the context menu items with it. There is no ‘pnse.dll’ on my system (as far as a couple of search tools can tell) and there appears to be no entries for that dll in the registry.
Reinstalling the program, unchecking the integration option, then uninstalling had no effect.
I followed this guide [ http://www.howtogeek.com/howto/windows-vista/how-to-clean-up-your-messy-windows-context-menu/ ] and there are no entries for PN in any of those registry fields.
I then got the tool that was suggested in the howtogeek.com article. Here’s a screenshot: http://imgur.com/xTJwmuE that shows there’s a context item, but no registry entry for that item. (The hilited item is manage.py, a python text file)
Please advise.
Most windows software structures its window titles as something like Document Name - Software Name
, but PN uses Programmer's Notepad - [Document Name]
, which is unhelpful when the Windows taskbar is set to "Never combine" mode so that window titles are shown in the taskbar - PN's title is always truncated to Programmer's Notep...
so you can never identify a PN window by the current open document.
There are the language keywords, but I have my library with my own functions.
If possible create a second keyword list, for user keywords, with other color style, could be a good option.
Original issue 6 created by simonsteele on 2008-03-10T13:55:14.000Z:
Migrated From: http://sourceforge.net/tracker/index.php?
func=detail&aid=1465024&group_id=45545&atid=443221
This fixes a bug in the command line parsing for the
multi-instance startup code. The function
MultipleInstanceManager::SendParameters() was dropping
the argument for the -l parameter because it was
treating all args that didn't begin with a dash as
filenames.
The parsing could still be made more robust, but I
think this covers the current use cases.
All the changes are to that one function in pnutils.cpp
regards,
David
Original issue 24 created by simonsteele on 2008-03-24T08:27:32.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Toolbars should show correctly.
All buttons on toolbars don't show at all.
What version of the product are you using? On what operating system?
v2.0.8.718-basie
Please provide any additional information below.
Original issue 14 created by simonsteele on 2008-03-15T04:52:05.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
The target function should display at two lines off the top of text view
What version of the product are you using? On what operating system?
All versions on all OSes
Please provide any additional information below.
I've fixed it by placing a call to VisibleFromDocLine() before LineScroll
() in CChildFrame::OnGotoLine() function, please see the attached file.
Programmer's Notepad 2 works great under Wine (which is fantastic for those of us on Linux, I still haven't found a native linux editor I like as much as PN2)...except for one really annoying little thing:
When using the "Tab order controlled by recent use" setting, the ctrl-tab order becomes seemingly random.
I don't know if this helps, but when I ctrl-tab in pn2, and only when "Tab order controlled by recent use" is enabled, Wine generates the following output on stderr:
fixme:win:LockWindowUpdate (0x1040e), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
Sounds like PN2's recent use tab order is relying on some usage of LockWindowUpdate (or something else that, in turn, relies on a particular usage of LockWindowUpdate) that isn't fully-working in Wine. Naturally, the ideal solution would be a fix within Wine, but maybe there's an easy way for PN2 to work around it?
I'm posting this here as your personal website it down and I don't think there is a way to contact you directly through GitHub.
I've finally got both the demo and the template examples compiling and working well. I'd really like to dive into extending pnotepad as I've used it for years and have quite a few itches to scratch.
It is possible to dock a window created by an extension?
Thanks.
On the download page are two links, both pointing to http://www.pnotepad.org/bugs/ which shows a 404 - not found
message.
Original issue 11 created by simonsteele on 2008-03-13T10:25:52.000Z:
As detailed in http://pnotepad.org/forums/topic/353, add ability to right
click a script to edit it without having to find the file.
Cheers
Original issue 16 created by simonsteele on 2008-03-17T06:38:34.000Z:
in the include/TaskDialog.h, the CDialogBaseUnits class has been
commented, but it is still in use as one of the both parent classes of
CTask98DialogImpl, I have to un-comment it to make the compiler work, do I
miss sth here?
I'm using VS2008 express and latest edition of WTL/SciLexer/expat...
I just upgraded to v2.4, and when I try to start the program, nothing happens. If I look in task manager I can see pn.exe appear and then disappear straight away.
I deleted my old config (after I backed it up) from %APPDATA%/Echo Software/PN2 and now it works OK, but I have to re-enter all my preferences :(
Another slightly annoying thing is that if I right click on entry in the "Open Files" sidebar, the program hangs for about 5-10 seconds before the menu appears.
For example, press Ctrl+O to open a dialog and while typing, files in project will searched and then user could select some file and press enter to open it. This way user does not need to start clicking around the project or file explorer.
Thanks!
Trying desperately to create a schemedef for AlanIF - an adventure language like Inform6.
For this I have to declare a double dash -- as the beginning of a line comment.
This seems to be completely ignored by PN. PN tries to parse the comment lines without recognizing them as comments.
Please help. This bug is driving me nuts.
On the main homepage (http://www.pnotepad.org/), there's a link to this page:
http://www.pnotepad.org/docs/howto/translate_programmer_s_notepad
That's 404. Missing page.
Also, on the "How to compile" page:
http://www.pnotepad.org/docs/dev/how_to_compile_pn/
Shows VS2010, but I think you converted to VS2012? Just a minor correction. Thanks!
Original issue 7 created by simonsteele on 2008-03-10T13:57:17.000Z:
Migrated from: http://sourceforge.net/tracker/index.php?
func=detail&aid=1497096&group_id=45545&atid=443221
ctags:
a doubleclick jumps to the ctags-word and selects it.
new ctags.exe (no debuginfos)
editor:
Contexmenue with "find", "replace" and "find in file"
entry
find in files dialog:
default path is the current editor window
new Dialog replace in files:
find next in the result windows (jump over readonly
files and replaced lines)
replace (replaced Lines are in another color)
each click on replace updates the file
replaced all (replaces all in readwrite files)
(function mode: first it replaces all in the result
windows and than the File is written,
so i need only one write to update the file)
find in file result windows:
The result as tree with contexmenue
"collaps all",
"expand all",
"replace",
"set readonly",
"set readwrite"
The look of the search result word is in another color
The name of the founded readonly files are displayed
in grey
doubleclick jumps to the editor and selects the word
In current version output font size value is slightly less than main font size and this is looks not good if used bitmap font like Fixedsys.
Original issue 5 created by simonsteele on 2008-03-10T13:53:22.000Z:
Migrated from: http://sourceforge.net/tracker/index.php?
func=detail&aid=1768938&group_id=45545&atid=443221
I've kluged together a schemedef for the Prolog programming language.
Attached...
Original issue 10 created by simonsteele on 2008-03-12T17:57:25.000Z:
I experienced a random crash while typing in 2.0.7.706-devel. PN made a
dump (attached)
What steps will reproduce the problem?
What version of the product are you using? On what operating system?
2.0.7.706-devel on Windows XP SP3
First thing I do in programmers notepad is change background to a dark color.
When do this, need configure all colors, in all schemmas.
I delete all other schemmas, and copy my default to programmers notepad default.
If color schemma is the same for all schemmas, could be best.
Original issue 2 created by simonsteele on 2008-03-10T13:43:47.000Z:
Fixes contributed by Jarek Bartkowiak:
I only managed to do minor modifications that preserve selected file
(CMainFrame::WorkspaceChildCloseNotify() method in mainfrm.cpp). To solve
this problem one should modify 'pnws' file format (add 'selected file'
attribute) and change method that gets open documents list. The problem is
that this method call Win32 EnumChildWindows function that enumerates
windows in its Z order (not the true order of the document windows).
Original issue 22 created by simonsteele on 2008-03-23T14:06:51.000Z:
Original issue 9 created by simonsteele on 2008-03-12T09:35:34.000Z:
Please provide an Erlang Scheme (request:
http://pnotepad.org/forums/topic/342)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.