Revision: 1803
http://geany.svn.sourceforge.net/geany/?rev=1803&view=rev
Author: eht16
Date: 2007-08-16 06:53:06 -0700 (Thu, 16 Aug 2007)
Log Message:
-----------
Apply patch from Scintilla ML to fix problems with selections including the first and second character of a line.
Modified Paths:
--------------
trunk/ChangeLog
trunk/scintilla/PositionCache.cxx
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-08-15 17:58:58 UTC (rev 1802)
+++ trunk/ChangeLog 2007-08-16 13:53:06 UTC (rev 1803)
@@ -1,3 +1,10 @@
+2007-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+
+ * scintilla/PositionCache.cxx:
+ Apply patch from Scintilla ML to fix problems with selections
+ including the first and second character of a line.
+
+
2007-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c, src/symbols.h, src/treeviews.c:
Modified: trunk/scintilla/PositionCache.cxx
===================================================================
--- trunk/scintilla/PositionCache.cxx 2007-08-15 17:58:58 UTC (rev 1802)
+++ trunk/scintilla/PositionCache.cxx 2007-08-16 13:53:06 UTC (rev 1803)
@@ -341,7 +341,7 @@
}
void BreakFinder::Insert(int val) {
- if (val > nextBreak) {
+ if (val >= nextBreak) {
for (unsigned int j = 0; j<saeLen; j++) {
if (val == selAndEdge[j]) {
return;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1798
http://geany.svn.sourceforge.net/geany/?rev=1798&view=rev
Author: ntrel
Date: 2007-08-15 04:52:06 -0700 (Wed, 15 Aug 2007)
Log Message:
-----------
Apply patch from Jeff Pohlmeyer to add document_remove() to the
plugin API (thanks).
Add document_open_files() to plugin API.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/plugindata.h
trunk/src/plugins.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-08-15 11:51:05 UTC (rev 1797)
+++ trunk/ChangeLog 2007-08-15 11:52:06 UTC (rev 1798)
@@ -1,3 +1,11 @@
+2007-08-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * src/plugindata.h, src/plugins.c:
+ Apply patch from Jeff Pohlmeyer to add document_remove() to the
+ plugin API (thanks).
+ Add document_open_files() to plugin API.
+
+
2007-08-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/filetypes.h, src/symbols.c,
Modified: trunk/src/plugindata.h
===================================================================
--- trunk/src/plugindata.h 2007-08-15 11:51:05 UTC (rev 1797)
+++ trunk/src/plugindata.h 2007-08-15 11:52:06 UTC (rev 1798)
@@ -68,7 +68,7 @@
/* The API version should be incremented whenever any plugin data types below are
* modified. */
-static const gint api_version = 10;
+static const gint api_version = 11;
/* The ABI version should be incremented whenever existing fields in the plugin
* data types below have to be changed or reordered. It should stay the same if fields
@@ -163,6 +163,9 @@
gboolean (*save_file)(gint idx, gboolean force);
gboolean (*open_file)(gint idx, const gchar *filename, gint pos, gboolean readonly,
struct filetype *ft, const gchar *forced_enc);
+ void (*open_files)(const GSList *filenames, gboolean readonly, struct filetype *ft,
+ const gchar *forced_enc);
+ gboolean (*remove)(guint page_num);
}
DocumentFuncs;
Modified: trunk/src/plugins.c
===================================================================
--- trunk/src/plugins.c 2007-08-15 11:51:05 UTC (rev 1797)
+++ trunk/src/plugins.c 2007-08-15 11:52:06 UTC (rev 1798)
@@ -75,7 +75,9 @@
&document_get_cur_idx,
&document_get_current,
&document_save_file,
- &document_open_file
+ &document_open_file,
+ &document_open_files,
+ &document_remove
};
static ScintillaFuncs sci_funcs = {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.