AlephNote icon indicating copy to clipboard operation
AlephNote copied to clipboard

You cannot drag text in scintilla control

Open Mikescher opened this issue 7 years ago • 3 comments
trafficstars

You cannot drag text around in scintilla control to move it

You cannot drag text from another application into the control

(it works in Notepad++, so scintilla should support it)

Mikescher avatar Nov 28 '17 20:11 Mikescher

error:

System.IO.FileLoadException: Could not load file or assembly 'EvernotePlugin, Version=0.0.0.8, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
File name: 'EvernotePlugin, Version=0.0.0.8, Culture=neutral, PublicKeyToken=null' ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   at AlephNote.Impl.PluginManager.LoadPluginsFromAssembly(String path)
   at AlephNote.Impl.PluginManager.LoadPlugins(String baseDirectory)

can you help.

Thanks

LPOLKOSNIK avatar Mar 19 '18 16:03 LPOLKOSNIK

Hey, can you open a new issue for your problem?

Anyway can you go into the plugins directory and rightclick on the dll and go to the Properties dialog. Somewhere there you should be able to check something like "allow to execute this file even though I downloaded it from the evil internetz" or something like this. Do this for all dll's (end evlt the exe file) and it should work.

Btw: How did you download the zip archive - normally that should not happen

Mikescher avatar Mar 20 '18 17:03 Mikescher

Update: seems like this is currently a bug in the Scintilla component: https://github.com/jacobslusser/ScintillaNET/issues/256

There are some workarounds but they look worse than keeping the current behavior...

Mikescher avatar Dec 14 '18 18:12 Mikescher