Andreas Jönsson
d6081a5f37
Improve copy functionality in find results window
...
Just copy the actual results, without the additional formatting with
line and file name. It respects the hierarchy in the results, i.e.
you can copy all results from a search operation, or from a specific
file, or just the lines you selected.
10 years ago
Andreas Jönsson
54c8fd7ac8
Make case of "all" consistent.
10 years ago
Don HO
2002ecfbd2
Merge pull request #140 from Morange21/master
...
[UPDATE] Remove extra space when creating a new document
10 years ago
Don HO
57664ff70e
Merge pull request #142 from NN---/thread
...
[UPDATE] Remove unnecessary casts.
10 years ago
Don HO
4979760b57
Merge pull request #148 from milipili/gitignore-scintilla-generated-files
...
[UPDATE] ignore scintilla generated files
10 years ago
Don HO
7f2af7a264
Merge pull request #146 from milipili/fix-documentmap-uninitialized-variables-drawzone
...
documentmap: ViewZoneDlg: fixed uninitialized variables
10 years ago
Christian Grasser
6d654bef5a
Merge branch 'master' of https://github.com/chcg/notepad-plus-plus into GWLP_648
10 years ago
Don Ho
e9e710a3d4
[UPDATE] Unprecompile headers (part 2)
10 years ago
milipili
25b3a712fb
fixed minor memory leak when exporting the parameters to XML
...
When writing the parameters as a XML file (when the application quits), a new
node was created but not destroyed (`InsertEndChild` makes a clone of the
given node).
10 years ago
milipili
41c2d99327
ignore scintilla generated files
10 years ago
Christian Grasser
ebd90df66c
Merge branch 'master' of https://github.com/donho/notepad-plus-plus
10 years ago
Don Ho
b35e759d11
[UPDATE] Unprecompile headers
10 years ago
milipili
9f5f8d13c5
documentmap: ViewZoneDlg: fixed uninitialized variables
...
The real problem is `_viewZoneCanvas`, which can be used unitialized by `drawZone`.
10 years ago
milipili
d09947d22d
Scintilla: Buffer: fixed invalid read via strlen when loading a file
...
When loading a file via `FileManager::loadFileData`, a fixed-length buffer
is filled via `fread`. Then, in some cases, a conversion is done with the help
of `Utf8_16_Read`. However, the method `Utf8_16_Read::convert` performs a call
to `strlen` on this buffer. This is obviously wrong: `\0` char should be
accepted (even if a bit strange) and the buffer is not zero-terminated.
The changes merely consist in adding an additional parameter `length` to
not have to guess the size of the buffer.
10 years ago
milipili
6adc3b35fc
scintilla: buffer: fixed invalid read in the stack when loading a file
...
The method `FileManager::loadFileData` uses a stack-based buffer for reading
a file. However, due to the optimization used by `Utf8_16_Read` (`UnicodeConvertor`),
this buffer is not copied, but a pointer to this object is kept.
After `loadFileData`, this object is destroyed, but is used afterward
(via `UnicodeConvertor.getNewBuf`).
10 years ago
NN
3319bcc581
Fix incorrect thread procedure prototype. It has to be __stdcall.
...
Remove unnecessary casts.
10 years ago
Joshua Noel
bc0b68b2ba
Fixed extra space between UNTITLED_STR and document number when creating a new document through the function FileManager::newEmptyDocument()
10 years ago
Don HO
17e8ca3c15
Merge pull request #120 from andreas-jonsson/tempfix_corruption
...
[BUG_FIXED] Prevent big file corruption on some long period operations.
10 years ago
Andreas Jönsson
3ca488d0bc
Also sync when pasting.
...
See Sourceforge #5327 .
10 years ago
Don HO
8976240dcd
Merge pull request #138 from milipili/master
...
[ScitillaComponent: Buffer: _currentStatus is used uninitialized in ctor
10 years ago
milipili
0ce219566a
ScitillaComponent: Buffer: fixed an uninitialized variable in ctor
...
The non-default constructor of the class Buffer calls the inner method
`checkFileState()`, using the private variable `_currentStatus` to determine
whether some checks on the file attached to the buffer are required or not.
However this variable is properly initialized _after_.
10 years ago
Don Ho
da262dd975
[FIX] Fix not compling issue.
10 years ago
Don HO
7fec9fa070
Merge pull request #130 from NN---/patch-2
...
[UPDATE] Add more file extensions of XML based formats.
10 years ago
Don HO
7bde130c0b
Merge pull request #131 from NN---/master
...
Synchronize VS2015 project with VS2013.
10 years ago
Don HO
14a9ec6d19
[UPDATE] Add Section "Coding Style"
10 years ago
NN
1f5f5db147
Add .vs folder to ignore
10 years ago
NN
62120359e0
Merge remote-tracking branch 'base/master'
10 years ago
Christian Grasser
e1d8e055c8
Merge branch 'master' of https://github.com/chcg/notepad-plus-plus into GWLP_648
10 years ago
Christian Grasser
c8254f89d1
renamed missed CallWindowProcW Unicode version also to CallWindowProc
10 years ago
Christian Grasser
f45f58b4b2
Correct build issue on donho master
10 years ago
Don Ho
9d50da76b1
[CODE_ENHANCEMENT] Code enhancement.
10 years ago
NN
c8e0943286
Synchronize VS2015 project with VS2013.
10 years ago
NN
39ccda99ce
More XML based formats
10 years ago
Don Ho
7f6dd17f03
[CODE_ENHANCEMENT] Code enhancement.
10 years ago
Don Ho
c123fd1a01
[CODE_ENHANCEMENT] Init some uninitialized vars.
10 years ago
Christian Grasser
c3697d2055
Cleanup usage of remaining Pre-Unicode interface usage of SetWindowLongPtrW, SetWindowLongPtrA -> SetWindowLongPtr; GetWindowLongPtrW -> GetWindowLongPtr
10 years ago
Christian Grasser
311c7d578e
Further x86, x64 compatibility fix by reinterpret_cast<LONG_PTR> instead of reinterpret_cast<LONG> for SetWindowLongPtr
10 years ago
Christian Grasser
4d694ea704
Add patch from http://sourceforge.net/p/notepad-plus/patches/648/ by Xileer Torias with comment:
...
Updated the GetWindowLongPtr and SetWindowLongPtrW nIndex reference as per https://msdn.microsoft.com/en-us/library/windows/desktop/ms633585%28v=vs.85%29.aspx and https://msdn.microsoft.com/en-us/library/windows/desktop/ms644898(v=vs.85).aspx
This alters the function to be compatible with both x86, and x64 as to simplify future x64 builds.
10 years ago
Don HO
084d3c60a8
Update CONTRIBUTING.md
10 years ago
Don HO
2216c19dd0
Update CONTRIBUTING.md
10 years ago
Don HO
ad5788d266
Merge pull request #114 from pnedev/findinfiles_1
...
Enhance FindInFiles - part 1
10 years ago
Andreas Jönsson
5b28e27b3d
Add "static" to get internal linkage.
10 years ago
Andreas Jönsson
2a7ef2ecf0
Guard long-running operations with a mutex
...
The session snapshot feature runs in its own thread and access to
Scintilla etc is not thread-safe. As a *temporary* and *non-exhaustive*
fix we guard some long-running operations (undo, redo, replace, sort)
with a mutex to prevent data corruption.
10 years ago
Don Ho
2beb7e2dfe
Update .gitIgnore file
10 years ago
Don HO
56ceaf5546
Merge pull request #117 from NN---/VS2015
...
[ADD] Add VS2015 project file and make notepad++ project compatible with VS2015.
10 years ago
Don HO
07968d7ed6
Merge pull request #116 from jay1109/master
...
[UPDATE] Optimize font quality for LCD.
10 years ago
Don HO
805ab2b9ff
Merge pull request #86 from andreas-jonsson/decimal_sort
...
[NEW_FEATURE] Refine sort lines feature: Add Sort Lines Lexicographically/Integer/Decimal (comma) /Decimal (dot) with Ascending and Descending commands.
10 years ago
Andreas Jönsson
f43c9875b3
Fix menu options.
10 years ago
NN
7ead0542cc
Add special project for VS2015
10 years ago
jay1109
e2472bce88
Optimize font quality for LCD
10 years ago