Skip to content

Commit

Permalink
v0.6
Browse files Browse the repository at this point in the history
- The bugfix in the previous release has been confirmed.
- In the New Session dialog box, clicking one of the options (when the edit
  field is empty) will populate the edit field with the selected session name.
  • Loading branch information
mike-foster committed Mar 22, 2012
1 parent 2879b4f commit aa4ad5f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
11 changes: 9 additions & 2 deletions doc/SessionMgr.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div id="layout-container">

<div id="layout-header">
<h1>Session Manager 0.4.1</h1>
<h1>Session Manager 0.6</h1>
<p>A Plugin for Notepad++</p>
</div>

Expand Down Expand Up @@ -128,12 +128,14 @@ <h2>Tips &amp; Ideas</h2>
</ul>
</div>

<!--
<h2>Known Issues</h2>
<div>
<ul>
<li>Reference user bug reports regarding "strange characters in names" at <a href="https://sourceforge.net/projects/notepad-plus/forums/forum/482781/topic/4638017">the forum</a>. I think I may have fixed this bug in rev 0.4.1.</li>
<li></li>
</ul>
</div>
-->

<h2>Your feedback is very welcome!</h2>
<div>
Expand All @@ -143,6 +145,11 @@ <h2>Your feedback is very welcome!</h2>

<h2>Revision History</h2>
<div>
<h3>0.6, 21Mar2012</h3>
<ul>
<li>The bugfix in the previous release has been confirmed.</li>
<li>In the New Session dialog box, clicking one of the options (when the edit field is empty) will populate the edit field with the selected session name.</li>
</ul>
<h3>0.4.1, 20Mar2012</h3>
<ul>
<li>Possible bugfix (strange characters in names): I think I have found and corrected this problem.</li>
Expand Down
8 changes: 7 additions & 1 deletion src/DlgNew.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
DlgNew.cpp
Copyright 2011 Michael Foster (http://mfoster.com/npp/)
Copyright 2011,2012 Michael Foster (http://mfoster.com/npp/)
This file is part of SessionMgr, A Plugin for Notepad++.
Expand Down Expand Up @@ -67,6 +67,12 @@ INT_PTR CALLBACK dlgNew_msgProc(HWND hDlg, UINT uMessage, WPARAM wParam, LPARAM
case IDC_NEW_RAD_OPEN:
case IDC_NEW_RAD_COPY:
if (HIWORD(wParam) == BN_CLICKED) {
TCHAR buf[SES_MAX_LEN];
buf[0] = 0;
dlg::getText(hDlg, IDC_NEW_EDT_NAME, buf);
if (buf[0] == 0) {
dlg::setText(hDlg, IDC_NEW_EDT_NAME, app_getSesName(dlgSes_getLbSelectedData()));
}
dlg::focus(hDlg, IDC_NEW_EDT_NAME);
return TRUE;
}
Expand Down
4 changes: 2 additions & 2 deletions src/res/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#define NPP_PLUGIN_VERSION_H


#define RES_VERSION_B 0,4,1,0
#define RES_VERSION_S "0.4.1.0 Unicode"
#define RES_VERSION_B 0,6,0,0
#define RES_VERSION_S "0.6.0.0 Unicode"
#define PLUGIN_VERSION _T(RES_VERSION_S)


Expand Down

0 comments on commit aa4ad5f

Please sign in to comment.