mirror of
https://github.com/awatertrevi/xamarin-neo4j.git
synced 2026-09-22 09:05:29 +00:00
updated screenshots
This commit is contained in:
@@ -12,6 +12,7 @@ using System.Collections.Generic;
|
|||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using CoreGraphics;
|
using CoreGraphics;
|
||||||
using Foundation;
|
using Foundation;
|
||||||
|
using Microsoft.Maui;
|
||||||
using Microsoft.Maui.Controls;
|
using Microsoft.Maui.Controls;
|
||||||
using Microsoft.Maui.Handlers;
|
using Microsoft.Maui.Handlers;
|
||||||
using Microsoft.Maui.Platform;
|
using Microsoft.Maui.Platform;
|
||||||
@@ -22,6 +23,15 @@ namespace Xamarin.Neo4j.iOS.CustomRenderers
|
|||||||
{
|
{
|
||||||
public class QueryEditorHandler : EditorHandler
|
public class QueryEditorHandler : EditorHandler
|
||||||
{
|
{
|
||||||
|
public QueryEditorHandler()
|
||||||
|
{
|
||||||
|
Mapper.AppendToMapping(nameof(Editor.Text), (handler, _) =>
|
||||||
|
{
|
||||||
|
if (handler is QueryEditorHandler qeh && handler.PlatformView is MauiTextView textView)
|
||||||
|
HighlightWords(textView, qeh._keyWords);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
private readonly string[] _keyWords =
|
private readonly string[] _keyWords =
|
||||||
[
|
[
|
||||||
// Clauses
|
// Clauses
|
||||||
@@ -141,8 +151,6 @@ namespace Xamarin.Neo4j.iOS.CustomRenderers
|
|||||||
AutoCapitalizeKeywords(platformView, _keyWords);
|
AutoCapitalizeKeywords(platformView, _keyWords);
|
||||||
HighlightWords(platformView, _keyWords);
|
HighlightWords(platformView, _keyWords);
|
||||||
};
|
};
|
||||||
|
|
||||||
HighlightWords(platformView, _keyWords);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void HighlightWords(UITextView platformView, IEnumerable<string> wordsToHighlight)
|
private static void HighlightWords(UITextView platformView, IEnumerable<string> wordsToHighlight)
|
||||||
|
|||||||
Binary file not shown.
BIN
landing/public/screenshot1.avif
Normal file
BIN
landing/public/screenshot1.avif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 37 KiB |
BIN
landing/public/screenshot2.avif
Normal file
BIN
landing/public/screenshot2.avif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 45 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 37 KiB |
@@ -69,8 +69,8 @@ const APP_STORE_URL = "https://apps.apple.com/nl/app/pocketgraph/id1604368926";
|
|||||||
|
|
||||||
<div class="hero-visual">
|
<div class="hero-visual">
|
||||||
<div class="screenshots">
|
<div class="screenshots">
|
||||||
<img src="/screenshot1.jpg" alt="Graph visualization in PocketGraph" class="screenshot s1" />
|
<img src="/screenshot1.avif" alt="Graph visualization in PocketGraph" class="screenshot s1" />
|
||||||
<img src="/screenshot2.jpg" alt="Cypher editor in PocketGraph" class="screenshot s2" />
|
<img src="/screenshot2.avif" alt="Cypher editor in PocketGraph" class="screenshot s2" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user